Archived topic
My Posts page does not work when using GeneratePress Theme Premium
3 replies · Started by Nico on January 13, 2021
I would like to use the wordpress Posts functionality. If I define a specific page as and browse to this page, i get an error:
"There is a critical error on your website"
I have disabled all addons - not resolved.
If a use the WP default theme instead of GeneratePress, the problem does not exist anymore.
If I enable debug mode, I get the result below. Can anyone please help?
Notice: Constant GENERATE_VERSION already defined in /mnt/web518/c2/60/53861860/htdocs/temp-eventrw/wp-content/themes/generatepress/index.php on line 21 Fatal error: Cannot redeclare generate_needs_site_branding_container() (previously declared in /mnt/web518/c2/60/53861860/htdocs/temp-eventrw/wp-content/themes/generatepress/inc/theme-functions.php:685) in /mnt/web518/c2/60/53861860/htdocs/temp-eventrw/wp-content/themes/generatepress/inc/theme-functions.php on line 685
Hi there,
has there been any changes made to the Theme files as this error is related to this line in the themes index.php
As you can see - the theme is not making the failed request.
I have replaced index.php from backup and now it is working.
Thanks David!
Glad to hear that.