Login fails without message, menu links to https://mydomain.com/$base/help apache error log: Parameter must be an array or an object that implements Countable in /var/www/hubzilla.rocks/inclu

  last edited: Mon, 09 Sep 2019 10:20:30 +0000  
Cannot login to my Hubzilla hub. When I want to view the help section I get something like https://mydomain.com/$baseurl/help. The webserver's error log shows
[Sun Sep 01 17:08:24.671988 2019] [proxy_fcgi:error] [pid 30761:tid 140272625252096] [client x.x.x.x:62655] AH01071: Got error 'Primary script unknown'
[Sun Sep 01 17:17:38.050714 2019] [proxy_fcgi:error] [pid 30762:tid 140273589921536] [client x.x.x.x:41606] AH01071: Got error 'PHP message: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/hubzilla/include/zot.php on line 2636PHP message: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/hubzilla.rocks/include/zot.php on line 2636'


Solution:
Please check your database, most likely it is completely empty or incomplete. This can happen if a database restore fails for whatever reason.