
-
AuthorPosts
-
April 4, 2018 at 10:16 am #937053
Koen Koevoets
GuestAfter an update to WordPress 4.9.5 the theme ENFOLD disapeared.
What do you advice me to do to be able to run an WP update and keep the ENFOLD theme?April 4, 2018 at 1:25 pm #937123Hey Koen Koevoets,
I’m not sure I understand what you mean by that, was the theme deleted from the server? If so then your hosting provider should be able to help you with restoring the site from a backup.
Please note that this is the pre-sale channel, please register on the support forum for technical support.
Best regards,
RikardApril 4, 2018 at 5:14 pm #937318Koen Koevoets
GuestThis reply has been marked as private.April 5, 2018 at 7:05 am #937502Hi,
Thanks for the feedback. I’m not sure why updating WordPress would wipe the theme from your server, I’ve never heard of that happening before. Could you copy your site to a staging version and try to perform the update there first maybe?
Also, you are running an old version of the theme. Please consider updating to the latest version which is 4.2.6: http://kriesi.at/documentation/enfold/updating-your-theme-files/
Best regards,
RikardApril 10, 2018 at 11:01 am #939771Koen Koevoets
GuestHi Rikard,
I have purchased the latest Enfold Theme, to make sure the problem is not related to a outdated theme. However when I replace the theme files through FTP, the website does not show content anymore. I tried the update of WP also and visa versa. Both ways, it does not work. However the latest Enfold Theme update does make me able to stay in http://www.koenenco.nl/wp-admin/ mode. Do you have a suggestion how to get rid of the “error 500”?
Best Regards,
Koen
BTW I have reinstalled the backup, so no updates active at http://www.koenenco.nl
April 10, 2018 at 11:58 am #939813Hi Koen,
Can you please check server log for error?
Here is how to find it: http://snapcreek.com/blog/wordpress-error-log-friend/If you need further assistance please let us know.
Best regards,
VictoriaApril 10, 2018 at 2:02 pm #939861Koen Koevoets
GuestHi Victoria,
I think we are allmost there! still a fatal error…
The WP_DEBUG in the wp-config.php file was disabled. the WP_DEBUG_LOG was missing.
OLD:
define(‘WP_DEBUG’, false);NEW:
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);The debug-log file says:
Fatal error: Can’t use function return value in write context in /var/www/vhosts/koenenco.nl/httpdocs/wp-content/themes/enfold/header.php on line 6
header.php on line 6:
$avia_config[‘use_standard_lightbox’] = empty( avia_get_option( ‘lightbox_active’ ) ) || ( ‘lightbox_active’ == avia_get_option( ‘lightbox_active’ ) ) ? ‘lightbox_active’ : ‘disabled’;
/**
* Allow to overwrite the option setting for using the standard lightbox
* Make sure to return ‘disabled’ to deactivate the standard lightbox – all checks are done against this string
*
* @added_by Günter
* @since 4.2.6
* @param string $use_standard_lightbox ‘lightbox_active’ | ‘disabled’
* @return string ‘lightbox_active’ | ‘disabled’
*/Question: Can you tell me what to change?
Best Regards,
Koen
April 10, 2018 at 2:10 pm #939865Koen Koevoets
GuestI see now that I am mising a “ligthbox plugin” Do you recommend a certain lightbox?
April 10, 2018 at 2:21 pm #939873Koen Koevoets
Guestjust installed “Responsive Lightbox 1.7.2” by dfactory.
not solved jet. trying to figure out the right settings.
Your help is still appreciated / needed ;o)
April 11, 2018 at 10:47 am #940392Koen Koevoets
GuestSolved! How?
after updating WP and the Enfold theme I got the following message:
Fatal error: Can’t use function return value in write context in /var/www/vhosts/koenenco.nl/httpdocs/wp-content/themes/enfold/header.php on line 6setting the line 6. $avia_config[‘use_standard_lightbox’] = empty
to
$avia_config[‘use_standard_lightbox’] = disabled
gave the following message:
Notice: Undefined index: wp_db_temp_dir in /var/www/vhosts/koenenco.nl/httpdocs/wp-content/plugins/wp-db-backup/wp-db-backup.php on line 112Si I changed the “disabled” back to “emty” to leave the header.php unchanged.
I changed the PHP version to 5.6.35
Then I got the following note:
Notice: Undefined index: wp_db_temp_dir in /var/www/vhosts/koenenco.nl/httpdocs/wp-content/plugins/wp-db-backup/wp-db-backup.php on line 112
I replaced line 112 in the wp-db-backup.php from;
$requested_temp_dir = sanitize_text_field($_GET[‘wp_db_temp_dir’]);
to
$requested_temp_dir = isset($_GET[‘wp_db_temp_dir’]) ? sanitize_text_field($_GET[‘wp_db_temp_dir’]) : null;No new notices appeared.
April 12, 2018 at 2:11 am #940728Hi,
Glad that you fixed the issue. However, you should not modify the WP core files directly. Please upgrade PHP to version 7.0 or later versions then replace header.php file with this copy.
// https://www.dropbox.com/s/cj2v2z0lz7qdx33/header.php?dl=0
Best regards,
IsmaelApril 12, 2018 at 10:35 am #940849Koen Koevoets
GuestHi Ismael,
executed and it works. thanks!
Best Regards,
Koen
April 13, 2018 at 5:49 am #941255Hi Koen,
Great, glad you got it working and sorry for the problems. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardApril 13, 2018 at 11:05 am #941408Koen Koevoets
GuestHi Rikard,
you can close this topic,
Thanks!
Koen
April 13, 2018 at 11:08 pm #941729Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Basilis -
AuthorPosts
- The topic ‘WordPress 4.9.5 versus ENFOLD’ is closed to new replies.