• Resolved lemailme

    (@lemailme)


    Hi all,

    Unsure if this is the right sub-forum to post in.

    I recently migrated my site over to a new host with PHP 7.3, and all is working well except when I try and update any content (using Muffin Builder). When I change any content via Pages, and go to update the page, I get this error in the console:

    . {code: “internal_server_error”,…}
    . additional_errors: []
code: “internal_server_error”
data: {status: 500}
message: “<p>There has been a critical error on your website. Please check your site admin email inbox for instructions.</p><p>Learn more about debugging in WordPress.</p>”

    And this email, which references Query Monitor:

    Howdy!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Query Monitor.

    First, visit your website (https://yaletownnutrition.com/) and check for any visible issues. Next, visit the page where the error was caught (https://yaletownnutrition.com/wp-admin/post.php?post=2421&action=edit&meta-box-loader=1&meta-box-loader-nonce=a35cf26311&_locale=user) and check for any visible issues.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.3.2
    Current theme: Betheme Child (version 1.6.1)
    Current plugin: Query Monitor (version 3.5.2)
    PHP version 7.3.11

    Error Details
    =============
    An error of type E_ERROR was caused in line 82 of the file /home/umuw1a2et54m/public_html/ytnutrition/wp-content/plugins/query-monitor/collectors/php_errors.php. Error message: Uncaught Error: [] operator not supported for strings in /home/umuw1a2et54m/public_html/ytnutrition/wp-content/themes/betheme/functions/builder/back.php:918
    Stack trace:
    #0 /home/umuw1a2et54m/public_html/ytnutrition/wp-content/themes/betheme/functions/meta-portfolio.php(472): mfn_builder_save(2421)
    #1 /home/umuw1a2et54m/public_html/ytnutrition/wp-includes/class-wp-hook.php(290): mfn_portfolio_save_data(2421)
    #2 /home/umuw1a2et54m/public_html/ytnutrition/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #3 /home/umuw1a2et54m/public_html/ytnutrition/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /home/umuw1a2et54m/public_html/ytnutrition/wp-includes/post.php(4120): do_action(‘save_post’, 2421, Object(WP_Post), true)
    #5 /home/umuw1a2et54m/public_html/ytnutrition/wp-includes/post.php(4197): wp_insert_post(Array, false)
    #6 /home/umuw1a2et54m/public_html/ytnutrition/wp-admin/includes/post.php(407): wp_update_post(Array)
    #7 /home/umuw1a2et54m/public_html/ytnutrition/wp-admin/post.php

    I disabled and deleted the Query Monitor plugin, but the error still persists.

    I am using BeTheme 15.7 with Muffin Builder. It worked previously on PHP 5.6.

    Can anyone assist?

    Thanks,
    Leigh

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lemailme

    (@lemailme)

    I ran the site in debug mode and this is what the log says:

    [13-Jan-2020 22:50:46 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXX/public_html/ytnutrition/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
    [13-Jan-2020 22:50:47 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXX/public_html/ytnutrition/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
    [13-Jan-2020 22:50:49 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXX/public_html/ytnutrition/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
    [13-Jan-2020 22:50:51 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXX/public_html/ytnutrition/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
    [13-Jan-2020 22:50:56 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXX/public_html/ytnutrition/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
    [13-Jan-2020 22:50:57 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXX/public_html/ytnutrition/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
    [13-Jan-2020 22:50:57 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXX/public_html/ytnutrition/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
    [13-Jan-2020 22:51:21 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXX/public_html/ytnutrition/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
    [13-Jan-2020 22:51:23 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXX/public_html/ytnutrition/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
    [13-Jan-2020 22:51:23 UTC] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /home/XXX/public_html/ytnutrition/wp-content/themes/betheme/functions/builder/back.php:918
    Stack trace:
    #0 /home/XXX/public_html/ytnutrition/wp-content/themes/betheme/functions/meta-portfolio.php(472): mfn_builder_save(2421)
    #1 /home/XXX/public_html/ytnutrition/wp-includes/class-wp-hook.php(290): mfn_portfolio_save_data(2421)
    #2 /home/XXX/public_html/ytnutrition/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #3 /home/XXX/public_html/ytnutrition/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /home/XXX/public_html/ytnutrition/wp-includes/post.php(4120): do_action(‘save_post’, 2421, Object(WP_Post), true)
    #5 /home/XXX/public_html/ytnutrition/wp-includes/post.php(4197): wp_insert_post(Array, false)
    #6 /home/XXX/public_html/ytnutrition/wp-admin/includes/post.php(407): wp_update_post(Array)
    #7 /home/XXX/public_html/ytnutrition/wp-admin/post.php in /home/XXX/public_html/ytnutrition/wp-content/themes/betheme/functions/builder/back.php on line 918
    [13-Jan-2020 22:51:30 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXX/public_html/ytnutrition/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
    [13-Jan-2020 22:51:32 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXX/public_html/ytnutrition/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
    [13-Jan-2020 22:51:35 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXX/public_html/ytnutrition/wp-content/plugins/LayerSlider/wp/widgets.php on line 4

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    You’ll need to contact the author of the theme about this error and send them the stack traces above.

    Thread Starter lemailme

    (@lemailme)

    Thank you, I will.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error message: Uncaught Error: [] operator not supported for strings in’ is closed to new replies.