Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1420636

    Hello Support,

    I am attempting to change the video on the homepage of this site: https://thievesofreason.com/.

    It currently is: https://www.youtube.com/watch?v=jjhK9dGyyLE
    I am attempting to change to: https://www.youtube.com/watch?v=8symYPbOWOs

    When I hit “UPDATE” to save the changes, I get the following message:
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    It doesn’t seem to affect the site, other then the edit doesn’t happen. The site itself doesn’t break and I can navigate back to the ADMIN, etc.

    I am running Enfold Version 5.6.6 – and I believe everything else is up-to-date, too. The issue seems to be with every page edit. I was able to make a change to the main menu, however.

    I’ve placed the ADMIN credentials in the PC area. Can you see what the issue is?

    Sincerely,
    Greg

    #1420651

    Hey Greg,

    Thank you for the inquiry.

    We can reproduce the issue but not yet sure what is causing it. Try switching the installation to debug mode and enable the error logs so that we can trace the root of the issue.

    // https://wordpress.org/documentation/article/debugging-in-wordpress/#wp_debug_log
    // https://wordpress.org/documentation/article/debugging-in-wordpress/#wp_debug

    Please provide the S/FTP details in the private field as well.

    Best regards,
    Ismael

    #1421433

    Hello Ismael,

    I changed the config file in the root to be

    define('WP_DEBUG', true);
    define( 'WP_DEBUG_LOG', true );

    SFTP credentials are in the Private field.

    ~ Greg

    #1421446

    Hi,

    Thank you for the inquiry.

    The issue occurs because of the modified section.php file in the child theme. Please make sure to update the file using the latest version from the parent theme.

    This is the error.

    Warning: Undefined variable $content in /home/…./site.com/wp-content/themes/enfold-child/shortcodes/section.php on line 87

    Warning: Undefined variable $args in /home/…./site.com/wp-content/themes/enfold-child/shortcodes/section.php on line 95

    Best regards,
    Ismael

    #1422707

    Hello Ismael,

    OK – this ticket can be closed.

    I nuked the errant directory/folder from the child theme. I couldn’t see why it was created…

    Thank you,
    Greg

    #1422775

    Hi,

    Great, I’m glad that you found a solution, and thanks for the update. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘critical error when attempting to save page edits’ is closed to new replies.