• Resolved wpuser293

    (@wpuser293)


    As it is quite urgent for me to solve this issue I am posting my question also here next to the TMS Plugins ticket system. Can you please get in contact with me?

    I get the following errors:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘AmeliaBooking\Infrastructure\WP\ButtonService\ButtonService’ does not have a method ‘exportVars’ in /homepages/10/d793967391/htdocs/wp-includes/class-wp-hook.php on line 287

    I moved my WordPress Homepage from my testing environment were it worked great, to the productive environment. I used Duplicator and the extracting process etc worked. But when I open the website i can see the frontend besides all pages where WP Amelia is integrated with the shortcodes. Furthermore when i try to log into the backend i get an Error 500 message. I tried all the different things in this case (renamed htaccess, more PHP memory limits, …) nothing worked. WordPress send me an email with the detailed error report.

    I also tried to upgrade to WordPress 5.4, tried different PHP Versions, upgraded to Amelia 2.5 but nothing worked. This is a quite critical issue for me.

    WordPress-Version 5.3.2
    Aktuelles Theme: Twenty Seventeen (Version 2.2)
    Aktuelles Plugin: Amelia (Version 2.4)
    PHP-Version 7.3.16

    Error-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 70 der Datei /homepages/10/d793967391/htdocs/wp-content/plugins/ameliabooking/src/Infrastructure/WP/ButtonService/ButtonService.php verursacht. Fehlermeldung: Uncaught Error: Class ‘AmeliaBookingInfrastructureWPHelperServiceHelperService’ not found in /homepages/10/d793967391/htdocs/wp-content/plugins/ameliabooking/src/Infrastructure/WP/ButtonService/ButtonService.php:70
    Stack trace:
    #0 /homepages/10/d793967391/htdocs/wp-includes/class-wp-hook.php(288): AmeliaBookingInfrastructureWPButtonServiceButtonService::exportVars(‘index.php’)
    #1 /homepages/10/d793967391/htdocs/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #2 /homepages/10/d793967391/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /homepages/10/d793967391/htdocs/wp-admin/admin-header.php(104): do_action(‘admin_enqueue_s…’, ‘index.php’)
    #4 /homepages/10/d793967391/htdocs/wp-admin/index.php(111): include(‘/homepages/10/d…’)
    #5 {main}
    thrown

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ameliabooking

    (@ameliabooking)

    Hi,

    Thank you for contacting us.

    Our support will help you in the ticket that you have opened, so we will continue there.

    Best regards.

    Thread Starter wpuser293

    (@wpuser293)

    For all of you who are interested. The topic was resolved but it was quite a hassle. I couldnt figure out the final root cause. I tried to migrate the website from my testenvironment from Webgo to 1&1. And after migrating it i always got an error 500 which was caused by WP Amelia (according to the logs). I couldnt figure out what happened and tried a lot of things. 1&1 support was supportive but also couldnt solve it.

    I contacted the owner of the plugin who were really helpful and supporting. The owners of the plugin installed the website on a local testservers of theirs and it worked like charm. Also i tried to install it on another hosters webspace (Strato). Also there it worked perfectly. So it must have something to do with 1&1. As we couldnt figure it out we finally moved the clients page to another hoster (Webgo) where everything worked right away.

    So in the end i didnt have any idea why it didnt work at the server of 1&1. I just wanted to say the plugin works perfectly at other servers and the team has been very supportive. Thank you for that!!

    • This reply was modified 3 years, 11 months ago by wpuser293.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error 500 – White Screen’ is closed to new replies.