I think this error is because you are trying to run WebPA 3 (which was updated for PHP 7) with PHP 5.4. The latter does not support the passing of method return values into functions like empty. I would recommend that you do not use WebPA 3 with any version of PHP less than 7; you never know how many incompatibilities there might be. Better to update to PHP 7 instead. Stephen On 13/11/18 16:29, Mikey West wrote: > 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 > ######################################################################## To unsubscribe from the WEBPA list, click the following link: https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1