• Fatal error: Cannot redeclare __popular_posts() (previously declared in /home/thebrand/public_html/wp-content/themes/WireNews/functions.php:537) in /home/thebrand/public_html/wp-content/themes/WireNews/functions.php on line 778 . Whot should I do to resolve this? Anyone please help me. Tq

Viewing 3 replies - 1 through 3 (of 3 total)
  • Rename one of the functions and the calls to it, it is saying that you have a function with the same name in two different files.

    This is often when a developer creates custom code and does not prefix it to minimise this problem.

    copy the files back to a local folder and find the second call to popular posts.

    David

    Thread Starter thebrandchannel

    (@thebrandchannel)

    Hi David,
    Where should I open to the …………..” functions.php:537) in /home/thebrand/public_html/wp-content/themes/WireNews/functions.php on line 778″ to rename it coz it redirects me to open general PHP content on the web. Tqs again

    Do you have FTP?, if so copy the files back to a local folder, in the downloaded files you will need to look and find the second call to function popular_posts( it looks like they are both in the file called functions.php.

    Can you access the admin panel and change the theme back to default until you correct the issue, if not ftp copy the folder back and delete the themes online folder this will allow you back in to change the theme.

    Where did you get this theme?
    Also check out using a WAMP server on your local PC so you can test before deployment.

    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Seriously need help on this Fatal Error’ is closed to new replies.