-
AuthorPosts
-
March 25, 2019 at 9:01 am #1082580
After the last update of the enfold theme, these error occured
Text shown:
Fatal error: Can’t use function return value in write context in /var/www/web304/html/wp-content/themes/enfold/includes/helper-post-format.php on line 213best regards Robert
March 26, 2019 at 7:47 pm #1083224Hey Robert,
Which version of php are you running?
Please check this thread
https://kriesi.at/support/topic/fatal-error-54/Best regards,
VictoriaMarch 27, 2019 at 7:38 am #1083464This reply has been marked as private.March 28, 2019 at 8:46 pm #1084253Hi Robert,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
VictoriaMarch 29, 2019 at 12:26 pm #1084543This reply has been marked as private.March 31, 2019 at 11:26 pm #1085208Hi,
Thanks for the update.
Can you access your file server? Edit the includes > helper-post-format.php file and then look for the following code around 213.
$hide_featured_image = empty( get_post_meta( get_the_ID(), '_avia_hide_featured_image', true ) );
Replace it with:
$hide_featured_image = get_post_meta( get_the_ID(), '_avia_hide_featured_image', true ); $hide_featured_image = empty( $hide_featured_image ) ? false : true;
Best regards,
IsmaelApril 2, 2019 at 3:22 pm #1086101This reply has been marked as private.April 2, 2019 at 5:42 pm #1086172Hi,
Your backend is back again.
You must be using a very old PHP version (< 5.5.0). This bug is fixed in Enfold 4.5.5, so you are safe to update. But you should talk to your hoster to upgrade your PHP version for security reasons (minimum 7.1).
Best regards,
GünterApril 3, 2019 at 3:09 pm #1086584This reply has been marked as private.April 5, 2019 at 4:11 pm #1087501 -
AuthorPosts
- You must be logged in to reply to this topic.