[Resolved] My Posts page does not work when using GeneratePress Theme Premium

Home Forums Support [Resolved] My Posts page does not work when using GeneratePress Theme Premium

Home Forums Support My Posts page does not work when using GeneratePress Theme Premium

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1616864
    Nico

    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

    #1617210
    David
    Staff
    Customer Support

    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

    https://github.com/tomusborne/generatepress/blob/e030f57d2c26991074a6868265737424dac567d0/index.php#L21

    As you can see – the theme is not making the failed request.

    #1617782
    Nico

    I have replaced index.php from backup and now it is working.
    Thanks David!

    #1618117
    David
    Staff
    Customer Support

    Glad to hear that.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.