• Resolved edgin

    (@edgin)


    Hi,
    When i created new site in my multisite wp i have folowing error only on pages of that newly created site(the page is displayed normaly with desired theme except that error in header):
    Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/wp-content/plugins/jonradio-multiple-themes/includes/select-theme.php on line 103
    Thanku

    http://wordpress.org/plugins/jonradio-multiple-themes/

Viewing 2 replies - 1 through 2 (of 2 total)
  • My sincere apologies for the delay. I wrote a response 4 hours ago, but obviously never hit the Post button.

    I have successfully re-created this error on my test system, but it will be a few days before I am able to get it resolved, as it involves rewriting all of the code around the plugin’s internal settings to make them network-wide rather than having one set of internal settings per site in a WordPress multisite Network. These are all invisible settings that have nothing to do with the Settings that you would enter on the Settings page for the plugin.

    All that said, if you or anyone else reading this would like a “work-around” solution that will make the error go away, please post here. As I say, it will take me several days to come out with a new version which will eliminate the error, but I can undoubtedly come up with a quicky solution to eliminate the error message until the new version comes out.

    Thank you for your patience. Version 4.4 was just released, which resolves this problem.

    FYI, I ended up replacing all of the WordPress hooks with a completely different approach where I update the settings when the plugin is first given control, and handle everything there. It turns out to be a whole lot simpler, essentially bullet-proof, and really reduced the size of initialization code.

    As always, I’m interested in anything “odd” that you see with this version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘An error on line 103’ is closed to new replies.