Fatal Error: Cannot redeclare post ad widget
-
Note: I’m not a coder – I’m web-educated on WP & know just enough, which is part of the problem, I’m sure;)
I added a header widget for advertising to https://runnergurlz.com, & then coded in a widget for ads to appear after a post. I previewed the site, and it looked great. I decided I wanted to change the post ad location, removed the old code in custom_functions.php, added in the new, & this is what I got:
Fatal error: Cannot redeclare post_ad_widget() (previously declared in /home/content/87/6117487/html/wp-content/themes/thesis_17/custom/custom_functions.php:45) in /home/content/87/6117487/html/wp-content/themes/thesis_17/custom/custom_functions.php on line 68
I tried removing the ad widget code entirely, but it just keeps looping to this error message. I’ve hunted high and low for resolution. I’m stuck, & of course, the website’s down.
Can you please help??
LM
- The topic ‘Fatal Error: Cannot redeclare post ad widget’ is closed to new replies.