Warning: Invalid argument supplied for foreach()
-
Getting some errors after installing Simple 301 Redirects – Addon – Bulk CSV Uploader (I know, it’s from a different dev, but now even with that addon disabled I’m getting errors from main plugin.)
I used the Bulk Import Add-on to clear current 301s, then I uploaded a new CSV of 301s with wildcards which gave me a whole bunch of these these errors:
Warning: Illegal string offset '?/access-count/*' in ..plugins/simple-301-redirects-addon-bulk-uploader/simple-301-bulk-uploader.php on line 161
But it still looked like it worked since it said this on page:
/access-count/* was added to redirect tohttps://getfastproxy.com/product-attribute/access-count/*
However, when I went to the /wp-admin/options-general.php?page=301options page to confirm the 301s were there, there was only one set of empty blanks for the 301s and they were empty. Plus, now these errors are displaying:
Warning: Invalid argument supplied for foreach() in wp-simple-301-redirects.php on line 224 Warning: Invalid argument supplied for foreach() in wp-simple-301-redirects.php on line 156
Any idea what’s up? Using WordPress 5.2.2 with Simple 301 Redirects 1.07 (and Simple 301 Redirects – Addon – Bulk CSV Uploader 1.2.4)
- The topic ‘Warning: Invalid argument supplied for foreach()’ is closed to new replies.