• Resolved johannf78

    (@johannf78)


    I got the following error when trying to execute a snip on my page.

    • ?Fatal error: Cannot redeclare snip_list_products_in_category() (previously declared in C:\wamp64\www\wp-content\plugins\code-snippets\php\front-end\class-frontend.php(206) : eval()’d code:9) in C:\wamp64\www\wp-content\plugins\code-snippets\php\front-end\class-frontend.php(206) : eval()’d code on line?9
Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hi @johannf78,

    This error is coming from one of your snippets. You’re trying to declare a function with the same name twice.

    You should be able to find which snippet by doing a search for snip_list_products_in_category @line:9.

    Feel free to post the code here for assistance fixing.

Viewing 1 replies (of 1 total)
  • The topic ‘Broke my site’ is closed to new replies.