Hello,
I'v run into a problem trying to install the embedquestion filter on one of my test Moodles 3.6.5+ Build 20190718). The installation does not complete, I receive the following, and essentially the admin UI keeps returning to the error page when I try to open the settings on the Plugins overview page or when I try to vavigate to the admin Notifications page:
Exception - syntax error, unexpected '?'
Error code: generalexceptionmessage
- line 140 of /filter/embedquestion/classes/utils.php: ParseError thrown
- line ? of unknownfile: call to core_component::classloader()
- line 45 of /filter/embedquestion/classes/admin/question_behaviour_setting.php: call to spl_autoload_call()
- line 3142 of /lib/adminlib.php: call to filter_embedquestion\admin\question_behaviour_setting->load_choices()
- line 8353 of /lib/adminlib.php: call to admin_setting_configselect->output_html()
- line 8328 of /lib/adminlib.php: call to admin_output_new_settings_by_page()
- line 8328 of /lib/adminlib.php: call to admin_output_new_settings_by_page()
- line 8328 of /lib/adminlib.php: call to admin_output_new_settings_by_page()
- line 29 of /admin/upgradesettings.php: call to admin_output_new_settings_by_page()
Something similar happened a while back with a previous version of the filter, which I then managed to uninstall. I decided to give it another shot now (prior to upgrading to the latest Moodle 3.6.10 in the 3.6 series), but got stuck again. I suspect some specific server setup.. I wonder if you can provide any guidance as to where to look for the root of the problem. I can provide more info if needed - I previously tested using a local Windows Moodle package, same Moodle version and similar plugins installed, and the filter installed without such problems.
Thanks !
PS. Just read this ticket https://github.com/moodleou/moodle-filter_embedquestion/issues/11 "syntax error on PHP <7.1" , had a loot at my server settings and probebly found the culprit:
"version 7.0.0 is required and you are running 7.0.33.0.9.7"
Uninstalling the plugin again then. If my problem still merits a comment, I'll be happy to learn ..