• Resolved jakus

    (@jakus)


    I’m seeing the following two PHP warnings when trying to view form submissions from the Admin area:

    On the Submissions page = Warning: Invalid argument supplied for foreach() in …/plugins/html-forms/src/Admin/Admin.php on line 167

    Viewing individual Submission = Warning: Invalid argument supplied for foreach() in …/plugins/html-forms/src/Admin/views/tab-submissions-detail.php on line 60

    Any ideas what’s going on here?

    Cheers,
    J

Viewing 7 replies - 1 through 7 (of 7 total)
  • Lap

    (@lapzor)

    I’ll inform the developer, what version of the plugin are you on?

    Thread Starter jakus

    (@jakus)

    Latest version: 1.0.3 ??

    Thread Starter jakus

    (@jakus)

    Looks like it was a PHP version problem.

    Local site was using 7, changed dev environment from 5.6 to 7 and looks all good now.

    Thanks for following up though.

    Hey Jakus,

    Thanks for the heads up! PHP7 is a little smart about some notices but this is still something we can improve on in the plugin as well, so we’ll do just that.

    Cheers!

    Thread Starter jakus

    (@jakus)

    No worries Danny, sounds good, glad I could help in some small way ??

    Hey Jakus,

    One other thing that would help us immensely is, if you like the plugin, to leave a plugin review here on WP.org. We only have one so far, so we’d love to double that! ??

    Cheers, Danny

    Thread Starter jakus

    (@jakus)

    No worries, shall do!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Warnings in Submissions’ is closed to new replies.