Skip to content
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

PHP Warning: Attempt to modify property of non-object #26

Open
sirschuyler opened this issue May 21, 2020 · 1 comment
Open

PHP Warning: Attempt to modify property of non-object #26

sirschuyler opened this issue May 21, 2020 · 1 comment

Comments

@sirschuyler
Copy link

Describe the bug
[20-May-2020 14:08:19 UTC] PHP Warning: Attempt to modify property of non-object in /wp-content/plugins/the-seo-framework-extension-manager/bootstrap/update.php on line 288
[20-May-2020 14:08:19 UTC] PHP Warning: Attempt to modify property of non-object in /wp-content/plugins/the-seo-framework-extension-manager/bootstrap/update.php on line 289
[20-May-2020 14:08:19 UTC] PHP Warning: Attempt to modify property of non-object in /wp-content/plugins/the-seo-framework-extension-manager/bootstrap/update.php on line 290

To Reproduce
Not sure… keeps showing up every so often in debug log

Expected behavior
No PHP warning

Screenshots
Lines-Referenced-in-Debug-Log

Additional context

  • WordPress v5.4.1
  • SEO Framework v4.0.7
  • SEO Framework Extension Manager v2.3.1
    • Active Extensions: Incognito
@sybrew
Copy link
Owner

sybrew commented May 22, 2020

The site transient value must be an object, so I'm not sure where this would fail.

This is evident since WordPress always forwards an object. Source: [1], [2], [3].

Perhaps there's another plugin modifying the $value, whereafter Extension Manager receives a broken "object".

You can invoke this error instantly by going to /wp-admin/update-core.php, so deducting which non-WordPress.org plugin is the offending one should be easy 😄. Simply deactivate the plugins one by one until the error no longer spawns in your HTML header or error logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants