Archived topic
Fatal Error updating from 3.0.3 to 3.0.4
4 replies · Started by sevite on September 18, 2021
Hi,
I just upgraded to WP 5.8.1
Have GP Premium 2.0.3
Trying to upgrade GP from 3.0.3 to 3.0.4 - we are using a child theme (old habits die hard re: always use a child)
Twice I've tried to upgrade and get this fatal error. I just activated Wordfence and have the firewall in learning mode. We've used Wordfence happily on this site for a long time. It was just inadvertently deactived, thus reactivated. I also updated a number of other plugins but turning them off does not seem to impact this.
Warning: require_once(/nas/content/live/pospos108/wp-content/themes/generatepress/class-wp-bootstrap-navwalker.php): failed to open stream: No such file or directory in /nas/content/live/pospos108/wp-content/themes/generatepress_child/functions.php on line 177
Fatal error: require_once(): Failed opening required '/nas/content/live/pospos108/wp-content/themes/generatepress/class-wp-bootstrap-navwalker.php' (include_path='.:/usr/share/pear/php:/usr/share/php') in /nas/content/live/pospos108/wp-content/themes/generatepress_child/functions.php on line 177
There has been a critical error on this website.
Suggestions?
Hi there,
The error is pointing to a function in your child theme.
Can you remove that to test?
Thanks Leo, for the prompt response,
I have no idea how or what happens if I remove the child? Do I just deactivate it and activate the main GP theme? I am definitely not an experienced webmaster, just someone muddling through figuring this stuff out as needed.
We have a lot of custom css will deactivating child cause any issue with that?
You should only have to remove the function the error is pointing to - functions.php on line 177
You can try doing this on a staging site if it helps.