Recent Frequent Crashing

Hi all,

One of my clients' websites (v4.4.2) has been crashing a lot recently. It typically happens once every weekday.

This is the error message shown in the source when it happens:

The error_log shows several lines of this just before it happens:

[22-Jan-2019 22:16:57 UTC] PHP Warning: Attempt to assign property of non-object in /home/areasafe/public_html/app/Tygh/Settings.php on line 100

And then once it drops out, this:

[23-Jan-2019 01:22:52 UTC] PHP Warning: Illegal string offset 'config' in /home/areasafe/public_html/app/Tygh/Registry.php on line 182
[23-Jan-2019 01:22:52 UTC] PHP Notice: Array to string conversion in /home/areasafe/public_html/app/Tygh/Registry.php on line 182

Generally I just delete the cache files to get it working again, but obviously this is only a short term solution.

Any ideas?

What PHP version? Should be using 7.0.

Good point. It's 5.6 at the moment.

I just updated the staging site to PHP 7.3 and it crashed the site. I was getting a 500 error.

So I scaled it back to PHP 7 and it seems to be ok now. But I'll have to test add-ons etc I guess.