New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MLP 2.4.0: Fatal error (only backend) after update #204

Closed
tyrann0us opened this Issue May 9, 2016 · 1 comment

Comments

2 participants
@tyrann0us
Member

tyrann0us commented May 9, 2016

Version information

  • WordPress: 4.5.2
  • MultilingualPress: 2.4.0
  • PHP: 5.3.10 (FastCGI)

Steps to reproduce

  1. Update to latest MLP
  2. Try to access backend (wp-admin/)

What I expected

Fully functional backend

What happened instead

Error 500 with following error message:
Catchable fatal error: Argument 1 passed to Mlp_Self_Check::remove_mlp_from_update_plugins_transient() must be an instance of stdClass, boolean given in /var/www/vhosts/example.com/httpdocs/wp-content/plugins/multilingual-press/inc/installation/Mlp_Self_Check.php on line 146

What other information/logs to you need?

@tfrommen tfrommen added the bug label May 9, 2016

@tfrommen tfrommen added this to the v2.4.1 milestone May 9, 2016

@tfrommen tfrommen self-assigned this May 9, 2016

@tfrommen

This comment has been minimized.

Show comment
Hide comment
@tfrommen

tfrommen May 9, 2016

Contributor

@tyrann0us thanks, the information was (good) enough.

I already fixed this in the 2.4 branch. You can expect a patch release soon.

For now you could just remove stdClass in the line mentioned in your error message, or temporarily rename the multilingual-press folder (and thus deactivate the plugin), visit the Plugins page in your main site's WordPress Admin, and then undo the renaming, and reactivate MultilingualPress. The reason for the error message is that you don't seem to have ever checked for plugin updates...?

BTW, in order to continue with MultilingualPress, you will have to update PHP to version 5.4+ for the next major release.

Contributor

tfrommen commented May 9, 2016

@tyrann0us thanks, the information was (good) enough.

I already fixed this in the 2.4 branch. You can expect a patch release soon.

For now you could just remove stdClass in the line mentioned in your error message, or temporarily rename the multilingual-press folder (and thus deactivate the plugin), visit the Plugins page in your main site's WordPress Admin, and then undo the renaming, and reactivate MultilingualPress. The reason for the error message is that you don't seem to have ever checked for plugin updates...?

BTW, in order to continue with MultilingualPress, you will have to update PHP to version 5.4+ for the next major release.

@tfrommen tfrommen closed this in 661d04d May 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment