• Resolved poper

    (@poper)


    I’ve installed WordPress three times without troubles.
    Today I’ve tried to install it in the root directory of my website, everything seems to be Ok during the installation but when it reachs Step 3 I get this error:
    Fatal error: Cannot use object of type stdClass as array in /home/pop-page/public_html/wp-admin/upgrade-functions.php on line 705
    PHP version 5.0.0.
    You can see the complete PHP confihuration at https://pop-page.com/info.php
    Thanks

Viewing 6 replies - 16 through 21 (of 21 total)
  • Here’s a way to quickly change the file in the shell:

    cat upgrade-functions.php | sed "s/res\[0\]\['Type'\]/res\[0\]->Type/g" > upgrade-functions.php

    I installed 1.2.2 perfectly and then put the nightlies on, trying several different installation methods from overwriting, to completely deleting and trying it fresh (with the wp-config.php containing the right info) and running upgrade EVERY time gets me this:

    Fatal error: Call to undefined function: __() in /home/cameraon/public_html/test/wordpress/wp-admin/admin-functions.php on line 857

    I hunt through the new version of upgrade-fuctions.php and found no reference to $res anywhere, so this fix isn’t working. I waited overnight and got today’s new version and did a clean reloading and it also give me the same error.

    Ideas?

    I did a fresh install with the nightlies and it works, but I had to delete all the tables in my database – no loss since there was nothing in there.

    This will have to be fixed for others upgrading!

    I’m getting the same line 857 error when I try to upgrade to a nightly build.

    There must be a way to do this without deleting those tables. . .

    If not, I guess I’ll just have to wait for the stable release.

    had a some tipe of problem with stdClas… and this fix worked for me… Thanks to all who contributed

    Cheers, works for me. Sorry for creating another thread about it.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Step 3 error: Cannot use object of type stdClass’ is closed to new replies.