Okay
  Public Ticket #2923910
Internal server error on every event
Closed

Comments

  •  4
    LastGlow started the conversation

    Dear developers,


    independent of which event I want to buy, as soon as I click on checkout, I'm getting an internal server error message instead of a purchase confirmation.

    It's test domain, in case you want to purchase anything to test it just stick to "direkte Banküberweisung" which is bank transfer and nothing will happen.

    I can't use the plugin this way, any ideas? 


    Best,

    Timo

  •  894
    Zhivko replied

    Hi,

    It seems you already have the QRCode library running on your server and re-declaring its class causes the crash. I've added a check before requiring the library and the checkout should be working now.

    The changes are in the file /wp-content/plugins/stachethemes_event_calendar/assets/php/class.helper.php

    line 1511:

    from:

     require_once(Stachethemes_Event_Calendar::get_instance()->get_path('ASSETS') . 'php/libs/phpqrcode/qrlib.php');

    to:

    if (false === class_exists('QRcode')) {
    require_once(Stachethemes_Event_Calendar::get_instance()->get_path('ASSETS') . 'php/libs/phpqrcode/qrlib.php');
    }



    Stachethemes Developer

  •  4
    LastGlow replied

    Hi Zhivko,


    thank you sooo much! I'll leave a good review!


    Thank you!

    Best,

    Timo