• oleonard

    (@oleonard)


    Lately we’ve been getting an error after saving pages, “There has been a critical error on this website.” However the change to pages seems to be happening fine. This is the information in the debug log:

    [25-Oct-2024 13:17:51 UTC] PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /public_html/wp-content/plugins/wp-last-modified-info/inc/Core/Notification.php:114

    Stack trace:

    #0 /public_html/wp-content/plugins/wp-last-modified-info/inc/Core/Notification.php(114): explode(',', Array)

    #1 /public_html/wp-includes/class-wp-hook.php(324): Wplmi\Core\Notification->email(70650, Object(WP_Post), Object(WP_Post))

    #2 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)

    #3 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #4 /public_html/wp-includes/post.php(4860): do_action('post_updated', 70650, Object(WP_Post), Object(WP_Post))

    #5 /public_html/wp-includes/post.php(4993): wp_insert_post(Array, false, true)

    #6 /public_html/wp-admin/includes/post.php(453): wp_update_post(Array)

    #7 /public_html/wp-admin/post.php(227): edit_post()

    #8 {main}

    thrown in /public_html/wp-content/plugins/wp-last-modified-info/inc/Core/Notification.php on line 114

    Deactivating this plugin eliminates the problem. WordPress version 6.6.2, but the problem has been the same with a few earlier incremental releases too.

  • You must be logged in to reply to this topic.