Support » Plugin: Accordion FAQ » error message and data gone

  • Getting this message:

    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/ on line 58

    wherever accordion shortcodes are inserted. Current version of plugin is installed. In dashboard, accordion content is missing.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author wpshopmart


    I think you have inserted some special character in accordion filed like apostrophe “`”

    This apostrophe “`” character are not support inside accordion content field.


    I doubt this is the problem. I cannot think of why I would have used “” character, and ALL of the accordions are not functioning – not just one of them.

    My issue appears to be similar to this one on your forum that was marked resolved, with no indication of HOW it was resolved.

    Tried deleting & reinstalling plugin, but same think – except now error message reads

    Invalid argument supplied for foreach() in /var/www/vhosts/ on line 21

    Also, is there a way to access accordion content through the backend? I have no way to even see if the accordions had a ” ” (though i doubt this is the issue).

    Plugin Author wpshopmart


    Hello sarahjul,

    Now there no solution available for it. You will need to just re create your accordion.

    Sorry for inconvenience.

    Is there a way to obtain the content that was in the accordions? This site has multiple accordions.

    I have just run into a similar problem, although in my case, only two of my accordions display the error. The other two are fine. Did you ever figure out a resolution to this, other than recreating the accordions? (In my case, the error occurred when I took our WordPress website live, so I had a backup copy. Still, it will be time-consuming to redo them.)

    No sorry – had the pleasure of recreating them. Pain in the xxxxxx. Good luck!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘error message and data gone’ is closed to new replies.