Hi to all,
We have a problem creating forms and assessments in WebPA 3
The pages in both cases (forms and assessments) show up blank.
We get the following error in the logs
Tue Nov 13 14:18:25.401405 2018] [:error] [pid 18933] [client 147.143.1.72:54907] PHP Fatal error: Can't use method return value in write context in /var/www/html/WebPA-3.0.0-LTI/tutors/forms/create/class_wizardstep_1.php on line 89, referer: https://webpa-prod.bangor.ac.uk/webpa3lti/tutors/forms/
On comparing the equivalent line in WebPA 2 (which seems to work as far as creating forms and assessments is concerned) we find that the lines differ by one function
webpa 3 uses ... empty()
and
webpa 2 uses ... is_empty()
Note: we are running PHP 5.4 in both cases.
Do we need to update our version of PHP or is there another solution? ... e.g. changing all instances of empty() to is_empty() ???
Will there be any knock-on effects?
With best wishes,
Mikey
########################################################################
To unsubscribe from the WEBPA list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
|