I have had this error happen to me twice now due to mandatory WordPress core updates. Changing the above line to $this->widgets[ $widget ] = new $widget( $widget, $widget );
does seem to fix it. Could someone perhaps just roll this into whatever the next version of WordPress is? I don’t know whether a plugin is causing it or whatever, but it breaks backward compatibility in a way that feels very unnecessary given the simplicity of the fix.
-
This reply was modified 11 months, 2 weeks ago by nucleonic.