• Resolved AllByteNoBark

    (@allbytenobark)


    Cannot edit the code I have in place since updating to WP 5.9. Gives me an error that says:

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.

    But I get no email and the logs do not show any errors. Any ideas?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author SilkyPress

    (@diana_burduja)

    By “cannot edit the code” do you mean that you cannot open the “WP Admin -> Custom CSS & JS” page, or that you cannot open an any of the individual custom codes?

    What PHP version do you have on the server?

    Would you make sure the debugging mode is enabled on your website, as per this article? An error message would really be helpful.

    Thread Starter AllByteNoBark

    (@allbytenobark)

    I should mention it is still placing the code that I have added, I just cannot edit it.

    Plugin Author SilkyPress

    (@diana_burduja)

    Ok, that is useful information, but it doesn’t answer any of my questions.

    Thread Starter AllByteNoBark

    (@allbytenobark)

    The server is running PHP 8.1.2
    DB is MariaDB 10.3

    Will enable debug and see if I can get a msg

    Thread Starter AllByteNoBark

    (@allbytenobark)

    I cannot edit the individual items. Sent an email but it is not showing here.

    Plugin Author SilkyPress

    (@diana_burduja)

    The error should be at the end of the email, in the “Error Details” section.

    Thread Starter AllByteNoBark

    (@allbytenobark)

    That is the thing, I am not getting the email. I checked the email address and I do get other emails from the server but not the error email it indicates.

    Plugin Author SilkyPress

    (@diana_burduja)

    After enabling the debugging mode, do you get an error in the debug log?

    Also the Apache logs should hold any PHP errors generated on the website. Can you open the server logs?

    Thread Starter AllByteNoBark

    (@allbytenobark)

    Okay, here is what is in the debug log

    [28-Jan-2022 21:21:00 UTC] PHP Fatal error:  Uncaught Exception: Serialization of 'Closure' is not allowed in /home/mydomain/public_html/wp-includes/functions.php:617
    Stack trace:
    #0 /home/mydomain/public_html/wp-includes/functions.php(617): serialize(Array)
    #1 /home/mydomain/public_html/wp-includes/option.php(458): maybe_serialize(Array)
    #2 /home/mydomain/public_html/wp-content/plugins/user-rights-access-manager/admin/admin_menu_handle.php(18): update_option('wp_meta_boxes_d...', Array)
    #3 /home/mydomain/public_html/wp-includes/class-wp-hook.php(309): wpres_admin_menu_handle->wpres_get_metabox_value('custom-css-js')
    #4 /home/mydomain/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #5 /home/mydomain/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #6 /home/mydomain/public_html/wp-admin/includes/meta-boxes.php(1581): do_action('add_meta_boxes', 'custom-css-js', Object(WP_Post))
    #7 /home/mydomain/public_html/wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxe in /home/mydomain/public_html/wp-includes/functions.php on line 617
    Plugin Author SilkyPress

    (@diana_burduja)

    Would you deactivate the User Rights Access Manager plugin for a moment and see if the error is still there?

    Plugin Author SilkyPress

    (@diana_burduja)

    Here is another support topic with the exact same error message: I cannot edit post with plugin.

    Thread Starter AllByteNoBark

    (@allbytenobark)

    That is it. Has been in place for a while with no issues but when I deactivate it all is good. Sorry to bother you with an issue that was not yours. Thanks for your help.

    Plugin Author SilkyPress

    (@diana_burduja)

    You’re welcome.

    Thread Starter AllByteNoBark

    (@allbytenobark)

    Bought the developer PRO edition due to awesome support.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Quit working when I updated to WP 5.9’ is closed to new replies.