Local Community

Live link fails

Bug Summary

I get an fatal error “Object of class stdClass could not be converted to string in /Users/tobbe/Local Sites/swishmodal/app/public/wp-content/mu-plugins/local-by-flywheel-live-link-helper.php on line 155”

Steps to reproduce

This happens because the filter pre_update_option is assumed to deliver a string as the first parameter, the spec of this parameter is “mixed” and does sometimes contain an object.
(pre_update_option | Hook | WordPress Developer Resources)

Environment Info

  • MacOS 12.1?
  • What versions of site software (Nginx, Apache, PHP, MySQL) is used?
  • Local 6.2.1 5711?

Supporting info

Please provide your Local Log. See this Community Forum post for instructions on how to do so:

Include any screenshots or video recordings of the issue to help others reproduce.

Search is a wonderful feature.

Agree 100% :slight_smile: