• Resolved merlunix

    (@merlunix)


    Hi, I do get the following error message in the back- and frontend:

    Warning: Invalid argument supplied for foreach() in /home/hgp20332/public_html/hgp/wp-content/plugins/custom-field-suite/includes/api.php on line 531

    I haven’t added or change any fields. Thanks for any help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Matt Gibbs

    (@mgibbs189)

    You didn’t change any fields, but were any field groups changed or removed?

    Thread Starter merlunix

    (@merlunix)

    Hi Matt

    I assume the issue has to do with the WPML plugin (as so often). I did some testing and working in the standard language is possible without any issues. As soon as I do any change in a translated field group, the error immediately shows up on all pages (back- and frontend) related to CFS.

    Should I investigate with the WPML team as well? Thanks!

    Hi there,

    today I discovered the same problem (WP 4.8). I see the “Resolved” status here, but what is the solution?

    I haven’t added or changed any fields settings too (just content).

    Thread Starter merlunix

    (@merlunix)

    Hi, I completely deleted the field group in question and set it up again. Not a real solution, but in my case the errors were gone.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘api.php Error message in back- and frontend’ is closed to new replies.