E_STRICT Warning: Creating default object from empty value Line 214
-
Just wanted to pass along a warning that came up during development of a site using Swerve. The error seems to be resolved by declaring the $wp_query global in the swerve_redirect_action function. Of course this is not an issue that will affect most users since PHP error reporting is rarely set to trigger on E_STRICT level issues.
Thanks for your work on this useful plugin.
- The topic ‘E_STRICT Warning: Creating default object from empty value Line 214’ is closed to new replies.