[26-Mar-2019 08:30:33 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /srv/data/web/vhosts/www.domain.com/htdocs/core/class/notify.class.php on line 473
[26-Mar-2019 08:30:34 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /srv/data/web/vhosts/www.domain.com/htdocs/core/class/commonobject.class.php on line 4176
[26-Mar-2019 08:30:34 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /srv/data/web/vhosts/www.domain.com/htdocs/includes/tcpdi/tcpdi.php on line 583
[26-Mar-2019 08:30:34 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /srv/data/web/vhosts/www.domain.com/htdocs/core/class/commonobject.class.php on line 4176
The error is too generic and does not tell you exact problem. What you need is to find out what is the real issue. If your site is serving a Internal Server Error, this can be caused by a number of things, such as:
Server permission
Server timeout
Script timeout
Errors in .htaccess files
Exceeded PHP memory limit.
Or some other Web Server Issues
Normally, a permissions issue on the file (or files) would be one cause of the 500 Internal Server Error. The simple solution is to run chmod 644 on the problem file(s) or chmod 755 on the directories.
$ sudo chmod -R 777 /"your files location"
The best way to debug the error depends upon the server and what’s actually running at the time. Consider some debugging tips to help diagnose and fix common causes of this problem.
I found the source … the issue was coming from a purchased module.
After contacting their support … I got a great service from them and the issu was resolved.