• Resolved ricotagirl

    (@ricotagirl)


    Hello, I have this error since I tried ton install the new version of Storefront 2.2.3. Can you help me to resolve this ?
    Fatal error: Cannot redeclare storefront_categorized_blog() (previously declared in /wp-content/themes/storefront/inc/functions/extras.php:106) in /wp-content/themes/storefront/inc/storefront-functions.php on line 291

    Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @ricotagirl,

    When cross testing for you I was able to install and activate v2.2.3 without experiencing the behaviour which you describe.

    Manage Themes Woo Dev Word Press

    Have you tried downloading a fresh copy of Storefront, deactivating and deleting your sites existing copy of Storefront and then uploading the fresh copy to see if that resolves this for you?

    Thread Starter ricotagirl

    (@ricotagirl)

    Thank you for your answer.
    I did what you told me.
    I deleted the Storefront folder and uploaded the new version 2.2.3 but now I get a different error with my Child Theme. I suppose I have to desactivate it but how can I do that without having access to the admin (back-end) ? Can you help me ?

    Warning: require(/wp-content/themes/storefront/inc/init.php): failed to open stream: No such file or directory in /wp-content/themes/storefront_child/functions.php on line 11

    Fatal error: require(): Failed opening required ‘/wp-content/themes/storefront/inc/init.php’ (include_path=’.:/usr/lib/php7.0′) in /wp-content/themes/storefront_child/functions.php on line 11

    Thread Starter ricotagirl

    (@ricotagirl)

    It’s ok now. I’ve restored the precedent back-up and it works again. Thank you for your help.

    Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    That’s great to hear you got this working again now and I think the behaviour and error message you were experiencing maybe due to the child theme you are using.

    That would also explain why I couldn’t replicate the error message for you and it’s possible that some code you have within the child theme was maybe at fault.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error : cannot redeclare storefront_categorized_blog’ is closed to new replies.