Hello, I’m having problems with the loading time of the site, and sometimes also with the connection to the database. See system information:

I made uptime tests on the site through the Uptime Robot site and Load Impact test through the Load Impact site, see below the reports of each site:


I got in touch with the server support, which is a VPS with 4Gb of RAM, see what they answered me:
“Dear Client,
We are sorry for any inconvenience caused!
Here is the 2 errors found in the apache error log
[30-May-2018 21:30:25 UTC] PHP Warning: array_pop() expects parameter 1 to be array, null given in /home/maisvip/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_util.php on line 563
[30-May-2018 21:30:25 UTC] PHP Warning: implode(): Invalid arguments passed in /home/maisvip/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_util.php on line 564
Please check your cloudflare settings and contact your theme vendor who should be familiar with these errors.”
Hi,
Actually I have not seen these warnings before, why would they assume this is a known issue of the theme is beyond me. Those warnings could be caused if you used letters or other characters in the theme excerpt fields
– https://www.screencast.com/t/3RUeGG68LQ
Please check all the modules and see if that is the case. If you used the tagDiv composer which also provides the excerpt fields for modules, check them as well in your pages
– https://www.screencast.com/t/BlZLoLB9D9r
In terms of loading speed, there are many topics and guides that you read and optimize your website. Some of them here
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
We also recommend this Cloudflare configuration
– https://forum.tagdiv.com/cloudflare-cdn/
Of course the speed is also affected by plugins, server, and other aspects. You will have to analyze them and optimize the website for a better result.
Thanks
Hello,
All excerpts modules have default settings:

Since I do not use TagDiv Composer and it was enabled, I disabled it to check if the error will stop.
I followed all the advice to improve the loading time of the site.
Below is a list of installed plugins:

The site is hosted on a VPS server, with 4Gb of RAM


Hi,
The website seems to be functioning correctly from what I can see. There would be room for some more improvements in loading speed if you want to make them. Test the website with the Google tool to see what can be done
– https://forum.tagdiv.com/how-to-make-the-site-faster/
Note that mostly plugins and ads slow the website down.
Those PHP warnings should not cause any problems with the website, you could check periodically if more are generated.
Hello, I do not want to improve site loading. I expressed myself wrong when creating the topic title. What I’m complaining about is that the website has gone out of thin air. The only errors generated in the log were in relation to the tagDiv plugin.
So the problem is that those warnings are causing problems with the website functionality. What exactly is happening with the website?
Are you using the latest theme version and WordPress? Did you maybe install a plugin or made some theme modifications, or code additions, or changes in the theme panel right before the warnings have been generated? Both those warnings seem to be generated at the same time. Did more appear after that?
When the error occurred in the log, the site stopped opening, displaying errors 500, 502, and failed to connect to the database. After disabling the tagDiv Composer plugin, the error no longer appeared.
The last version of the theme came out today, so I’m not with the latest version. But the version of WordPress and all other active plugins are the latest ones.
I will install version 8.8 today and activate the tagDiv Composer plugin to test. I will come back with feedback.