Keywords: WordPress - AWS - Technical issue - Other
bnsupport ID: ded4f95f-7848-0224-c5ba-f5360daa9590
My website works fine for the most part but when I am sometimes editing posts or pages, it would sometimes get a Error Connecting To Database error and then go back to normal.
Is it possible that my instance is small? this is the specs of my lightsail instance.
512 MB RAM, 1 vCPU, 20 GB SSD
based on the error logs I have been getting a lot of these
[mod_pagespeed 188.8.131.52-0 @26872] PageSpeed Serf fetch failure rate extremely high; only 0 of 119 recent fetches fully successful; is fetching working?
AH01071: Got error 'PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php on line 119
But these are in the logs even before I started to experience the Database errors.
These I got recently
[mod_pagespeed 184.108.40.206-0 @6536] Slow ReadFile operation on file /opt/bitnami/apache2/var/cache/mod_pagespeed/v3
Thanks if anyone could shed light on these