• Resolved ghassanalqazzaz

    (@ghassanalqazzaz)


    Hello again forum,

    I have just updated to 1.33 Sydney theme and already I am facing some trouble, I had a function in my child theme’s functions.php “sydney_header_overlay()” which basically checks the page id and echos an image overlay with text accordingly on each page. The issue is that once I updated to 1.33, I got an error saying :

    “Fatal error: Cannot redeclare sydney_header_overlay() (previously declared in “my child-theme’s functions.php) sydney\functions.php on line 242) ”

    Which does not make lots of sense since in the parent theme’s functions.php there is absolutely no declaration of such a function not on line 242 or anywhere else.

    Any ideas?

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter ghassanalqazzaz

    (@ghassanalqazzaz)

    Alright, the issue has been solved. Apparently all it needed was pasting the original function definition and body in the parent’s functions.php and then removing the text again. That was weird, yet I am glad it was not a more complex issue.

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘header_overlay function after update to 1.33’ is closed to new replies.