• Resolved Paul Hawkins

    (@xpired)


    Hi,

    I get the classic “There has been a critical error on this website…” error when trying to create a new standard WP post while this plugin is active. As soon as I deactivate the plugin I do not get this error anymore.

    I have checked the WP debug log and I see this message:

    [16-Nov-2022 15:09:37 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, first array member is not a valid class name or object in /var/www/vhosts/maas-alliance.eu/httpdocs/wp-includes/class-wp-hook.php:306
    Stack trace:
    #0 /var/www/vhosts/maas-alliance.eu/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #1 /var/www/vhosts/maas-alliance.eu/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #2 /var/www/vhosts/maas-alliance.eu/httpdocs/wp-includes/rest-api.php(577): do_action()
    #3 /var/www/vhosts/maas-alliance.eu/httpdocs/wp-includes/rest-api.php(535): rest_get_server()
    #4 /var/www/vhosts/maas-alliance.eu/httpdocs/wp-includes/rest-api.php(2884): rest_do_request()
    #5 [internal function]: rest_preload_api_request()
    #6 /var/www/vhosts/maas-alliance.eu/httpdocs/wp-includes/block-editor.php(638): array_reduce()
    #7 /var/www/vhosts/maas-alliance.eu/httpdocs/wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
    #8 /var/www/vhosts/maas-alliance.eu/httpdocs/wp-admin/post-new.php(72): require('...')
    #9 {main}
      thrown in /var/www/vhosts/maas-alliance.eu/httpdocs/wp-includes/class-wp-hook.php on line 306

    WP version: 6.1.1
    PHP version: 8.0.25

    Using Elementor Pro and Hello (Child) Theme – all plugins (and theme) are fully up to date.

    Please could you kindly assist. Let me know if you need anything else 🙂

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Fatal Error’ is closed to new replies.