• Hello! I’m installing a new install of WordPress onto a server using CPanel. I upload the files, enter the credentials to create a wp-config.php. I click next and get the screen asking for site details. I then click “Install WordPress” taking me to: /wp-admin/install.php?step=2 and the page is white. The wp-config.php gets created, but no tables get created in the database. I set define('WP_DEBUG', true);

    Now I see an error when I refresh the page: Fatal error: Cannot redeclare class Walker_PageDropdown in /public_html/wp-includes/post-template.php on line 1315

    I reinstalled just to test, same issue.

    Next I wiped out all the files and installed 3.8.1-RC1. Same situation, but slightly different error (I’m guessing changes in post-template.php)

    Fatal error: Cannot redeclare class Walker_PageDropdown in /public_html/wp-includes/post-template.php on line 1109

    I also tried setting up a brand new subdomain and installing there, but I get the same issue. I have a suspicion that it’s an issue in WHM or CPanel but I have no idea where to look since the only error I’m receiving is related to post-template.php.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try re-uploading all files & folders from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Thread Starter JustinLewisSMA

    (@justinlewissma)

    I tried that. I tried the latest version via FTP from my workstation to the server. I also grabbed the file directly from the server using wget. I did this with latest as well as 3.8.1-RC1. Same (similar) error on all installs. And as I said above, I also created a brand new subdomain, so all of the directories were empty with a brand new user, still, same issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Install error in post-template.php on line 1315’ is closed to new replies.