• Resolved roundaboutweb

    (@roundaboutweb)


    WP-Version: 5.6
    PHP-Version: 7.4
    Plugin “Connections Business Directory”: 10.1

    There are 2 Warnings in PHP with your Plugin:

    Warning: array_merge(): Expected parameter 2 to be an array, string given in /html/wordpress/wp-content/plugins/connections/includes/Sitemaps/Sitemaps.php on line 142
    Warning: in_array() expects parameter 2 to be array, null given in /html/wordpress/wp-content/plugins/connections/includes/Sitemaps/Sitemaps.php on line 146

    Can you please fix it.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    The next update already has an additional check added, which should prevent this warning notice from being generated by PHP.

    You can prevent the warning; please navigate to the Connections Settings admin page and click the Advanced tab. Make no changes and click the Save button.

    I hope this helps. Please let me know.

    Thread Starter roundaboutweb

    (@roundaboutweb)

    The warnings are now no longer displayed, but are only the warnings disabled or is the cause fixed?

    Plugin Author Steven

    (@shazahm1hotmailcom)

    If you saved the advanced settings as described in my last reply, the issue that was triggering the warning is resolved.

    I hope that thoroughly answers your question, let me know.

    Thread Starter roundaboutweb

    (@roundaboutweb)

    I only saved the config and in the moment it looks like there is no warning – thanks.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Great to hear and happy to help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP-Warning with Sitemaps.php’ is closed to new replies.