• Resolved srsimonson

    (@srsimonson)


    Is the plugin compatible with PHP version 8? If not, which is the highest compatible version of PHP? Thanks!

    Notice: Trying to get property ‘query_var’ of non-object in \<path>\plugins\remove-cpt-base\remove-cpt-base.php on line 219

    and

    Deprecated: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in \<path>\plugins\remove-cpt-base\remove-cpt-base.php on line 223

    I get the above 2 error messages when moving code between lower environments. Both occur if a CPT base is checked on one environment, but code is moved between environments where CPT data isn’t yet 100% synched. Synching all content/data between lower environments makes the errors go away, just reporting these FYI.

Viewing 1 replies (of 1 total)
  • Plugin Author kubiq

    (@kubiq)

    Hello,

    these are NOTICES not ERRORS so everything should work 😉

    query_var has nothing to do with PHP version, but it’s weird that it’s not an object

    second Notice about strpos is there just because of that previous one is not an object so it will return false

    so it has nothing to do with PHP version and it should working with PHP 8 without any problem 😉

Viewing 1 replies (of 1 total)

The topic ‘Errors when moving between lower environments’ is closed to new replies.