Black Friday Sale! Get up to $40 off GP Premium!Learn more

[Resolved] Update Error

Home Forums Support Update Error

  • This topic has 1 reply, 2 voices, and was last updated 5 years ago by Tom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #150108
    Joe

    Hi,

    I tried to do the last update and I am getting this error after the update
    Fatal error: Cannot redeclare generate_get_defaults() (previously declared in /home/joeyg36/public_html/wp-content/themes/clock/functions.php:95) in /home/joeyg36/public_html/wp-content/themes/generatepress/functions.php on line 120

    #150177
    Tom
    Lead Developer
    Lead Developer

    This is happening because you’re re-using this function name in your child theme (clock) on line 95: generate_get_defaults()

    If you change that function name to something custom in your child theme, the error will go away.

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