Skip to content

foreach() argument must be of type array|object #147

Description

@aab3r

After upgrading my server and start using PHP8.2, I saw a lot of PHP errors. I found this repository, and upgraded Feedwordpress to use it.

Almost all the PHP errors are now gone (for instance, #136); the only one that remains is:

FastCGI sent in stderr: "/wp-content/plugins/feedwordpress/feedwordpress.php on line 2127; PHP message: PHP Warning: foreach() argument must be of type array|object, string given in /site/wp-content/plugins/feedwordpress/feedwordpress.php on line 2127"

I'm not seeing any obvious (bad) behaviour caused by this, but just in case...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions