Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #937053
    Koen Koevoets
    Guest

    After 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?

    #937123

    Hey 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,
    Rikard

    #937318
    Koen Koevoets
    Guest
    This reply has been marked as private.
    #937502

    Hi,

    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,
    Rikard

    #939771
    Koen Koevoets
    Guest

    Hi 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

    #939813

    Hi 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,
    Victoria

    #939861
    Koen Koevoets
    Guest

    Hi 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

    #939865
    Koen Koevoets
    Guest

    I see now that I am mising a “ligthbox plugin” Do you recommend a certain lightbox?

    #939873
    Koen Koevoets
    Guest

    just 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)

    #940392
    Koen Koevoets
    Guest

    Solved! 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 6

    setting 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 112

    Si 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.

    #940728

    Hi,

    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,
    Ismael

    #940849
    Koen Koevoets
    Guest

    Hi Ismael,

    executed and it works. thanks!

    Best Regards,

    Koen

    #941255

    Hi 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,
    Rikard

    #941408
    Koen Koevoets
    Guest

    Hi Rikard,

    you can close this topic,

    Thanks!

    Koen

    #941729

    Hi,

    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

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘WordPress 4.9.5 versus ENFOLD’ is closed to new replies.