Support » Fixing WordPress » Deprecated: Assigning the return value

  • This is a desperate call for help!

    A year ago, I set up a WordPress installation for our school. The IT department installed it, but they also added so many restrictions, so I couldn’t even upgrade (for security reasons!!!). I do, however, have FTP access to the files. Yesterday our school servers went down (I heard it was a cyber attack) and nothing was accessible for hours. When I tried to access our blog today I got these errors (

    Any help would be greatly appreciated. Our teacher put so much work on developing the blog (lesson plans, resources…etc) and now everything is gone and IT is not willing to help with this!

    Thank you so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Forum Moderator

    I heard it was a cyber attack

    I think it was far more likely a server PHP upgrade that initially went wrong judging by the errors on your site.

    Step 1:
    reset your plugins folder by FTP

    Step 2: Use FTP to rename your current theme’s folder to force the activation of the default theme.

    Step 3. This is the tricky part – you need to make a backup of your current database. You’ll need access to phpMyAdmin to do this.

    Step 4. See if you can now login to the site.

    If all goes well, I’d strongly suggest that you leave all plugins & themes alone for now. Instead, focus in upgrading the site manually to 2.9.2 via a 2-step upgrade process: 2.5.1 -> 2.7 -> 2.9.2

    Let us know how it goes.

    Thank you so much esmi. I completed steps 1 and 2, and now I can see part of the index page, but not the admin section. I’m hoping our IT department will be kind enough to do the manual upgrade. Maybe it will solve this problem.

    I will keep you posted.

    Thank you.

    I still get the “Deprecated” error messages after resetting the plugin folder and renaming the current theme folder.

    Do I have to manually go into one of the files and switch back to the default theme? If that’s the case, which file?

    Thank you.

    I’m also getting this error:

    Warning: mktime() [function.mktime]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deprecated: Assigning the return value’ is closed to new replies.