Every time I save a widget's settings, I get...
Warning: Invalid argument supplied for foreach() in...dynwid_admin_save.php on line 158.
I saw another thread that said to upgrade to 1.4.x, but I am running 1.5.0. Any idea what could be causing this?
Every time I save a widget's settings, I get...
Warning: Invalid argument supplied for foreach() in...dynwid_admin_save.php on line 158.
I saw another thread that said to upgrade to 1.4.x, but I am running 1.5.0. Any idea what could be causing this?
Fortunately it's not a critical error. It's actually a warning. The settings for the widgets are saved. However, it's a bit ugly of course to see that warning every time. Development version 1.5.0.1 has this fixed.
I had same Line 158 problem.
installed DV 1.5.0.2 from link above, and now problem is gone, except on posts called "extra posts" when I choose the no option and save, it does not save it.
Any thoughts?
Hmm... looks like a regression bug occurs. I think I already know where the problem is. When I find it I'll let you know.
OK, I found it. It was indeed a regression bug and has been fixed in development version 1.5.0.3.
Looks like the regression bug is fixed - great job!
One other issue I notice, is that if I indicate for all the sidebar widgets to not be shown in say "extra posts", it works up until there is one widget left in the sidebar. When I then indicate that the last widget is not to be shown, it seems like a bunch of, maybe, default widgets come up. i.e. I turned search, custom menu, etc off. After all widgets in sidebar are off, then a sidebar with search, navigation, archives, etc. comes up.
This may just be the way wp works? Don't know.
Thanks again for fixing the regression bug.
It's actually how your template (theme) works. The theme you are using uses a set of "default widgets". That set comes up at the moment your sidebar becomes empty. Sometimes this can be 'fixed' by using a hack in the theme files. I can offer you this service on a commercial base.
That explains it. I was able to use a redirect to send to a page with no widgets instead of post, and that solved the immediate need.
If that doesn't work, I will contact you about getting the theme hacked.
Thanks again!
This topic has been closed to new replies.