Support » Plugin: Shortcode Maker » PHP error “Invalid argument supplied for foreach”

  • With Shortcode Maker it gives me the following error after updating to 3.0.1, on the page that contains the shortcode:

    Warning: Invalid argument supplied for foreach() in …/wp-includes/shortcodes.php on line 560

    The shortcodes work just fine anyway. I downgraded to 3.0 just for sure. If you could check this it would be great!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mithu A Quayium

    (@mithublue)

    Hi,

    Glad to know that you are using the plugin finely , but sorry to let you know that, we could not figure out the problem, in fact it working fine here.

    As soon as we find any problem, we will fix that.

    Thanks.

    (S.N : You can try our new plugin wp sitebuilder (https://wordpress.org/plugins/wp-sitebuilder/). Since, it is still in beta , please let us know your valuable opinion and suggestion on doing it better. Thank you 🙂 )

    nculpitt

    (@nculpitt)

    its def a problem – I have it do and downgrading to PHP5.6 clears the issue – its within the WordPress WP Includes so is a core file that, to me, looks to be leveraged by the use of shortcodes. It needs to be fixed…!!

    nculpitt

    (@nculpitt)

    If i disable the shortcode maker plugin – the error goes away and the shortcode is displayed on the screen as it’s now “text” and not actioned.

    PLEASE fix this else I will have to go find another shortcoder plugin that works.

    sagyla

    (@sagyla)

    This is similar to this thread: https://wordpress.org/support/topic/warning-invalid-argument-supplied-for-foreach-95/

    “I was able to work around this issue by adding a dummy attribute (just add an attribute even if you don’t plan on using it).”

    Sagy

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP error “Invalid argument supplied for foreach”’ is closed to new replies.