• Resolved biplaner

    (@biplaner)


    Hi,

    after adding and saving 3 counter-items, I got this error (frontend and backend):

    Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/counter-number-showcase/inc/admin/add-counter-box.php on line 69

    Maybe the reason was the “%” I wrote in the title (because the counter value was 100, means “100% made in..”). I am not able to edit the counter-items (they are not even shown) anymore.

    Any Suggestions?

    Many Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter biplaner

    (@biplaner)

    Edit: The error appears, after placing quotation marks in the title (produced “in Italy” e.g.). The error disappears after deleting and adding a new counterbox.

    do not use special characters it is not supported.

    Thread Starter biplaner

    (@biplaner)

    Thanks for your quick answer.

    It works fine with all special characters tested – only quotes (“) are causing the error. Seems like quotes are not escaped properly! Maybe you can check this and update if so…

    No critics, just an (important) bug report – really nice plugin nevertheless ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Invalid argument Error after adding counter’ is closed to new replies.