I see many people posting about this and I didn’t want to get lost in the shuffle.
Please help
Fatal error: Can’t use function return value in write context in /home4/ab7261/public_html/wp-content/themes/enfold/framework/php/class-form-generator.php on line 435
Hi,
The issue has been reported, there will be a fix soon. For now, you can go to this file wp-content/themes/enfold/framework/php/class-form-generator.php on line 435 via FTP and comment out this code
if( ! empty( trim( $element['label'] ) ) )
{
$placeholder_text = $element['label'];
}
if( ! empty( $element['check'] ) )
{
$extra = "*";
}
Thank you for your patience and sorry for the inconvenience.
Best regards,
Victoria
Im sorry but I don’t know what you mean by “comment out this code”. Do you mean “remove it” or change it?
Hi jbergmeier,
Put // in front of all these lines for comments. But for now try like this:
if( ! empty( $element['label'] ) )
{
$placeholder_text = $element['label'];
}
if( ! empty( $element['check'] ) )
{
$extra = "*";
}
Best regards,
Victoria
//Thank you.
//Fixed it thanks to you.
//Learned something new today.
//:)
Hi,
Glad that Victoria helped you :) Thanks for using Enfold :)
Best regards,
Nikko