• Resolved kapa330

    (@kapa330)


    When I make a new section I get this warning:
    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/profilegrid-user-profiles-groups-and-communities/includes/class-profile-magic-html-generator.php on line 2582

    The section works with no problem. The warning is displayed in frontend below the section

    Avada installed, all wordpress and login/themes up to date

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kapa330

    (@kapa330)

    It seems that the error is only displayed, when logged in as an Administrator

    Plugin Author ProfileGrid Support

    (@profilegrid0)

    Hello @kapa330,

    Thank you for writing to us.

    In order to check the issue on your site, we will require the access details temporarily. Please reach out to us through the support page on our site in order to allow us to assist you further.

    Thread Starter kapa330

    (@kapa330)

    Just found out what the problem was.

    If a user is assigned to multiple user group, and one or more user group didn’t have a section in it, then the error appears.

    Solution is just to make an empty section in those user groups.

    Best regards

    Plugin Author ProfileGrid Support

    (@profilegrid0)

    Hello @kapa330,

    We have fixed this issue in our latest release, please update the plugin to its latest version on your site and check.

    Let us know if you need any further assistance.

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