• Prometheus Fire

    (@prometheus-fire)


    I keep getting recurring fatal errors on a couple of sites. Not fully sure what the plugin is conflicting with (if anything, or if it is just misbehaving). Here is the log report, with a full stack trace of what is happening. Can you help me troubleshoot this, or does this information point you in a direction that is useful?

    [24-Jul-2025 15:44:52 UTC] PHP Fatal error: Uncaught SQLite3Exception: Unable to execute statement: attempt to write a readonly database in /home/1398960.cloudwaysapps.com/bfqequvggj/public_html/wp-content/object-cache.php:2656

    Stack trace:

    0 /home/1398960.cloudwaysapps.com/bfqequvggj/public_html/wp-content/object-cache.php(2656): SQLite3Stmt->execute()

    1 /home/1398960.cloudwaysapps.com/bfqequvggj/public_html/wp-content/object-cache.php(541): WP_Object_Cache->clear_flag()

    2 /home/1398960.cloudwaysapps.com/bfqequvggj/public_html/wp-content/object-cache.php(2685): WP_Object_Cache->__construct()

    3 /home/1398960.cloudwaysapps.com/bfqequvggj/public_html/wp-includes/load.php(893): wp_cache_init()

    4 /home/1398960.cloudwaysapps.com/bfqequvggj/public_html/wp-settings.php(147): wp_start_object_cache()

    5 /home/1398960.cloudwaysapps.com/bfqequvggj/public_html/wp-config.php(101): require_once(‘…’)

    6 /home/1398960.cloudwaysapps.com/bfqequvggj/public_html/wp-load.php(50): require_once(‘…’)

    7 /home/1398960.cloudwaysapps.com/bfqequvggj/public_html/wp-blog-header.php(13): require_once(‘…’)

    8 /home/1398960.cloudwaysapps.com/bfqequvggj/public_html/index.php(17): require(‘…’)

    9 {main} thrown in /home/1398960.cloudwaysapps.com/bfqequvggj/public_html/wp-content/object-cache.php on line 2656

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Prometheus Fire

    (@prometheus-fire)

    I should add that I’m experiencing these fatal errors on two vastly different websites, but both are hosted at Cloudways.

    Plugin Author OllieJones

    (@olliejones)

    Thanks for the defect report.

    I have seen this kind of error on sites where wp-cli jobs run under a different user than your web servers. What happens is this: the different user does an operation to sqlite. The operation creates one of the associated .sqlite files (.sqlite-shm or .sqlite-wal). That causes the ownership of the file to change. Then the web server comes in and it can’t use the file. So BOOM!

    Some other SQLite-based program (possibly the interactive sqlite3 shell program) runs and the same thing happens. If you’re on an Ubuntu / Debian os try doing

    sudo -u www-data wp whatever

    when you use wp-cli.

    Is this your problem? Please let me know.

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

The topic ‘Receiving recurring fatal errors’ is closed to new replies.