Tagged: critical error
-
AuthorPosts
-
September 27, 2023 at 1:54 am #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=8symYPbOWOsWhen 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,
GregSeptember 27, 2023 at 4:56 am #1420651Hey 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_debugPlease provide the S/FTP details in the private field as well.
Best regards,
IsmaelOctober 5, 2023 at 1:45 am #1421433Hello 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
October 5, 2023 at 5:18 am #1421446Hi,
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,
IsmaelOctober 16, 2023 at 10:13 pm #1422707Hello 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,
GregOctober 17, 2023 at 11:27 am #1422775Hi,
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 -
AuthorPosts
- The topic ‘critical error when attempting to save page edits’ is closed to new replies.