• Resolved Hillary

    (@hillaryaa)


    An error in the plugin is causing a fatal error on my website. It is blocking me from accessing my admin panel. This is the error message:

    Fatal error: Uncaught Error: Call to undefined function wp_kses() in /home/ii52nq66ke5s/public_html/wp-content/db.php:28 Stack trace: #0 /home/ii52nq66ke5s/public_html/wp-includes/load.php(570): require_once() #1 /home/ii52nq66ke5s/public_html/wp-settings.php(124): require_wp_db() #2 /home/ii52nq66ke5s/public_html/wp-config.php(92): require_once(‘/home/ii52nq66k…’) #3 /home/ii52nq66ke5s/public_html/wp-load.php(50): require_once(‘/home/ii52nq66k…’) #4 /home/ii52nq66ke5s/public_html/wp-admin/admin.php(34): require_once(‘/home/ii52nq66k…’) #5 /home/ii52nq66ke5s/public_html/wp-admin/index.php(10): require_once(‘/home/ii52nq66k…’) #6 {main} thrown in /home/ii52nq66ke5s/public_html/wp-content/db.php on line 28

    There has been a critical error on this website.

    Can you please fix this or is there something I can do to fix it?

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @hillaryaa

    I am sorry for the issue you are experiencing and I am happy to help!

    Can you please confirm you can access the wp-admin area and if so, please disable the settings one by one in Performance>general settings, save the settings and purge the cache after each setting is disabled, and see which one might be causing the issue?

    Thanks!

    Thread Starter Hillary

    (@hillaryaa)

    I can now access the wp-admin area of my website after several days of being unable to access it; however, I can only access it when the W3 Total Cache plugin is inactive. When I attempt to activate it, I get a 500 internal server error. Hitting the back arrow undoes this. The panel is also giving other error messages as well:

    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/ii52nq66ke5s/public_html/wp-includes/functions.php on line 7053

    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/ii52nq66ke5s/public_html/wp-includes/functions.php on line 2165

    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/ii52nq66ke5s/public_html/wp-includes/functions.php on line 7053

    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/ii52nq66ke5s/public_html/wp-includes/functions.php on line 2165

    Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in?/home/ii52nq66ke5s/public_html/wp-content/plugins/wp-google-maps/includes/class.script-loader.php?on line?635

    There seems to be an issue with the Redirection plugin as well. It’s not showing my redirections and I am getting a message that a server configuration error is blocking the Rest API (not sure what this is).

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @hillaryaa

    Thank you for your feedback.

    I can see that you have multiple layers of caching including Sucuri CDN.

    The errors you shared are not specifically related to the W3 Total Cache. Can you please share which php version you are using and also the WP version of your website?

    Thanks!

    Thread Starter Hillary

    (@hillaryaa)

    Gotcha. I’m using PHP 8.1 and WordPress 6.2.2. It looks like the object cache is the issue. The latest entry in the error log says that “Function wp_cache_flush_runtime was called incorrectly. Your object cache implementation does not support flushing the in-memory runtime cache.”

    • This reply was modified 1 year, 9 months ago by Hillary.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @hillaryaa

    Thank you for your feedback.

    We are already working on this and we have a GitHub ticket opened.
    Thank you for your patience.

    Thread Starter Hillary

    (@hillaryaa)

    Great! Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error in the Plugin is Crashing My Website’ is closed to new replies.