Hello,
I upgraded my moodle site from3.4 to 3.9.1 today and the website is showing blank screen while the admin area is displaying the error message Exception - syntax error, unexpected '.
Please how do I fix this?
Saeed
Thank you.I am on shared hosting.My hosting company did restore of full cpanel backup then after that I recieved the error O:8:"stdClass":3:{s:6:"groups";a:0:{}s:9:"groupings";a:0:{}s:8:"mappings";a:0:{}} on the home page. When I complained to my hosting company I was given this feedback:
Thank you for your reply.
We have checked the error log for your website, and it appears the issue is caused by the following php error:
[30-Aug-2020 14:08:10 America/New_York] PHP Fatal error: Uncaught Error: Call to undefined function current_language() in /home/vpncsjdb/public_html/lib/setuplib.php:701
Stack trace:
#0 /home/vpncsjdb/public_html/lib/setuplib.php(560): get_docs_url()
#1 /home/vpncsjdb/public_html/lib/setuplib.php(351): get_exception_info(Object(ParseError))
#2 [internal function]: default_exception_handler(Object(ParseError))
#3 {main}
thrown in /home/vpncsjdb/public_html/lib/setuplib.php on line 701
Checking the log, enable php extensions and connected php modules may help resolving the matter.
You can also investigate it further online or contact a professional developer.
That was why I made effort to upgrade to moodle 3.7 then to 3.9.1 thinking that it will solve the problem.
Can this problem be from my plugin theme? I am using klass theme.
Thank you
Saeed
Thank you.Yes. I am using 'one click upgrades' and 'one click installers' for Moodle