2015-01-28 07:49:20
MySQL errors when viewing install modules page
Hello
I was looking at the various modules that can be installed and I found errors at the top of the page
Warning: array_keys() expects parameter 1 to be array, null given in /home/davidche/public_html/courses/mods/_core/modules/classes/Module.class.php on line 116
Warning: Invalid argument supplied for foreach() in /home/davidche/public_html/courses/mods/_core/modules/classes/Module.class.php on line 117
then below the install modules boxes there was this error repeated about 30 times
Warning: in_array() expects parameter 2 to be array, string given in /home/davidche/public_html/courses/themes/default/admin/modules/install_modules.tmpl.php on line 134
changing the theme to ATutor Classic did not remove the errors
I believe this is a php version error because I have installed the same download on two different hosts, bluehost and siteground.
These errors do not appear in the bluehost install but do appear in the siteground install.
Yet both installs gave all green arrows when installing them.
The default php version for siteground is 5.3.29 and can go to 5.5.17
while the default php version for bluehost is 5.4
I thank you in advance for your response