Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author puravida1976

    (@puravida1976)

    It’s possible. Sounds like a function has been deprecated.

    The use of PHP54 is not yet mainstream or recommended.

    We will update this plugin once PHP54 is proven more stable, but we have many more urgent issues to address before then (billing system migration, new service features, etc).

    Thread Starter tariquesani

    (@tariquesani)

    Sorry this was with PHP 5.3.2 which is very much mainstream

    Plugin Author puravida1976

    (@puravida1976)

    That’s true. PHP5.3 is mainstream but this is the first occurrence reported for this error and all other installations, that we know of, have been successful.

    Therefore, this will go on the list for review/fix but that is a long list, unfortunately (just being honest).

    Tim

    (@timothyabgreen)

    Just to confirm I have the same error when trying to activate the plugin on WP 3.6.1

    PHP 5.4.15

    Fatal error: Call-time pass-by-reference has been removed in /XXXXXXXX/wp-content/plugins/shrinktheweb-website-preview-plugin/wplib/utils_formbuilder.inc.php on line 1290

    Reply if you need any more info.

    Plugin Author puravida1976

    (@puravida1976)

    Good ol’ PHP making things complicated. 😉

    Ok, did a quick check and it seems that the line 1290 in “utils_formbuilder.inc.php” needs to be changed from

    $validVal = call_user_func($this->validationFn, $this->value, $this->name, &$customError);

    to

    $validVal = call_user_func($this->validationFn, $this->value, $this->name, $customError);

    If anyone can verify that this fixes the issue, then we will release an update that support later versions of PHP.

    Plugin Author puravida1976

    (@puravida1976)

    Due to lack of response, we have launched a PHP 5.4 server and tested this change. The change to the formbuilder code we rely on works as expected, so we will be launching an update to our plugin shortly.

    Plugin Author puravida1976

    (@puravida1976)

    We have pushed a release v2.2 that corrects this bug with the formbuilder code we rely on. Marking this issue as resolved.

    Tim

    (@timothyabgreen)

    Sorry I have been away, I will test at the office tomorrow.
    Thanks for your help.

    Tim

    (@timothyabgreen)

    Perfect, that is working now. Really appreciate your prompt help with this one.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal Error in PHP 5.4’ is closed to new replies.