WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: Call to undefined function wp_initial_constants() (11 posts)

  1. Yogesh Ojha
    Member
    Posted 11 months ago #

    I was on 3.5.2 and did upgrade to 3.6 when I got the following message:
    Fatal error: Call to undefined function wp_initial_constants() in /home/nepa2z/public_html/samudayak/wp-settings.php on line 26

    Now i can't even login to wp-admin or any page. This happened when i upgraded from wp-admin.

    you can view the error in http://www.nepala2z.com/samudayak/

  2. Krishna
    Volunteer Moderator
    Posted 11 months ago #

  3. ebiznet
    Member
    Posted 10 months ago #

    I'm having the same problem when I tried doing the auto upgrade to 3.6.

    I am unable to login. Every page throws up the same error message.

    What can I do to get my site back online?

  4. garymotteram
    Member
    Posted 10 months ago #

    One of the websites I run has had the same issue. I've tried logging in using wp-login.php, but I still get the same error message.

    The website address is: http://edtechandtesol.info/phd/

  5. esmi
    Forum Moderator
    Posted 10 months ago #

    @garymotteram: As per the Forum Welcome, please post your own topic. Posting in an existing topic prevents us from being able to track issues by topic. Added to which, your problem - despite any similarity in symptoms - is likely to be completely different.

  6. garymotteram
    Member
    Posted 10 months ago #

    OK, will do.

  7. ebiznet
    Member
    Posted 10 months ago #

    I solved my problem with this issue by downloading the installation files and uploading them to my site, instead of using the auto updater. It worked ok again when I did this.

  8. chrishirst
    Member
    Posted 8 months ago #

    Given that no one has answered or addressed this problem -- The issue is the the files in the update zip archives are being auto-extracted to a directory of /wordpress/ rather than directly to where WordPress is actually installed and the auto update is setting the existing files to empty (0 byte) files during the process. So all require and include statements fail to load the actual functions and values.

  9. kendraprakash
    Member
    Posted 7 months ago #

    Fatal error: Call to undefined function wp_initial_constants() in /home/wholis/public_html/wp-settings.php on line 26
    i am having this problem now after i tried to update to wordpress 3.7.1
    show please help me how to fix it.

  10. Krishna
    Volunteer Moderator
    Posted 7 months ago #

  11. kendraprakash
    Member
    Posted 7 months ago #

    ok krishna
    thanks for the link

Reply

You must log in to post.

About this Topic