• Resolved hddldn

    (@hddldn)


    My website http://www.hipstersdontdance.com won’t load and my hosting service has given me the following reason:

    The error logs shows that the problem has something to do with your WordPress file and not on the server’s end. I would suggest to consult a WordPress expert or a web developer to further troubleshoot on the WordPress file. I have also included the most recent error logs on the server, you can use this as preference on the cause of the error.

    [Sat May 07 19:23:03 2016] [warn] mod_fcgid: stderr: PHP Fatal error: Cannot redeclare wp_cd() (previously declared in /home/linweb02/h/hipstersdontdance.com/user/htdocs/wp-load.php:24) in /home/linweb02/h/hipstersdontdance.com/user/htdocs/wp-includes/pomo/mo.php on line 35

    Has anyone ever come across anything like this before? I would really appreciate any help

Viewing 15 replies - 1 through 15 (of 17 total)
  • kmessinger

    (@kmessinger)

    Using ftp or signing into your hosted account rename wp-content/plugins to wp-content/plugins-old

    Thread Starter hddldn

    (@hddldn)

    Thanks for your suggestion but this has not made any change to the issue

    kmessinger

    (@kmessinger)

    What theme are you using? Using the method above rename that theme, themename-old.

    Thread Starter hddldn

    (@hddldn)

    I’m using a custom theme based on coraline, I tried your theme suggestion but this hasn’t made a change either

    kmessinger

    (@kmessinger)

    The message says there is an error on line 24 but there is nothing on that line. Confusing.

    mairajan

    (@mairajan)

    Fatal error would suggest generally that either a theme/plugin is not compatible with your version of wordpress, or an upgrade was incomplete. Have you made any recent updates?

    Thread Starter hddldn

    (@hddldn)

    i haven’t done any updates but it may have updated automatically

    Thread Starter hddldn

    (@hddldn)

    this is line 24 in this file : (previously declared in /home/linweb02/h/hipstersdontdance.com/user/htdocs/wp-load.php:24

    function wp_cd($fd, $fa=””)

    does this mean anything to anyone?

    kmessinger

    (@kmessinger)

    This is what I show for line 24 in wp-load.php
    error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );

    What version of WP are you using.

    Thread Starter hddldn

    (@hddldn)

    Sorry, I am a bit clueless with all this, only have basic knowledge with wordpress and how to access the database.

    I think its the latest version of wordpress, i seem to remember my site updating itself

    Thread Starter hddldn

    (@hddldn)

    File: /htdocs/wp-includes/version.php shows:
    <?php
    /**
    * The WordPress version string
    *
    * @global string $wp_version
    */
    $wp_version = ‘4.3.3’;

    kmessinger

    (@kmessinger)

    Download your version of WordPress here, https://wordpress.org/download/release-archive/

    Delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Don’t copy over but delete and replace.

    Thread Starter hddldn

    (@hddldn)

    Thank you kmessinger

    I have followed your steps and now I am getting this error message:

    Error establishing a database connection
    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at 213.171.200.64. This could mean your host’s database server is down.

    kmessinger

    (@kmessinger)

    Your wp-config.php file has an error in it. There is pretty much no other reason you would get this error. You can open the wp-config file or open the wp-config-sample file and fill in the blanks. Then save it as the wp-config.php file.

    Thread Starter hddldn

    (@hddldn)

    Thank you so much for all of your help Kmessinger, my site is up and running again

Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘PHP Fatal error’ is closed to new replies.