• Resolved Petra Haller

    (@rodgauigemo)


    after update plugin warning backend on the top of pages:
    “warning: array_flip(): Can only flip STRING and INTEGER values! in
    /homepage/43/d79756317/htdocs/clickandbuilds/RodgauIgemoWordpress/wp-content/plugins/connedtions/includes/settings/class.options.php on line 986”

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

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

    (@shazahm1hotmailcom)

    I took a look at the page you shared a link to and I do not see the warning message and Connections does not seem to be used on that page.

    Is there a link to the page which shows this?

    Are you by chance hooking into the cn_social_network_options in Connections and changing its values?

    Plugin Author Steven

    (@shazahm1hotmailcom)

    This is being marked as resolved due to inactivity. If you still need help with this issue, please do not hesitate to let me know. Thanks!

    Dear Steven

    I was in the midst of setting up Connections plugin, just now, when I suddenly got the following warning message on my dashboard:

    “Warning: array_flip(): Can only flip STRING and INTEGER values! in [deleted for security reasons]/directory/wp-content/plugins/connections/includes/settings/class.options.php on line 986

    Please, assist me.

    Thank you so much.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Are you by chance hooking into the cn_social_network_options in Connections and changing its values?

    Have you made any changes to the social network types on the settings page?

    Dear Steven

    Wow! Thank you so very much for your very prompt response.

    As I read your response, I went back to enable two among the social networks, and the error message disappeared.

    I had earlier disabled (unticked) the entire social networks, which must have caused the problem.

    I suggest there should be a safe option of disabling (unticking) all social networks, please.

    Once again, thanks a zillion for your very prompt response and for your great versatile plugin.

    My very best wishes!

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Thanks for the feedback!!! It never occurred to me that all option would be disabled. I’ll try the same to see if I get the same error. If I can replicate it, I can fix it in the next update.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    I was able to replicate the error and fix the bug.

    The error was, like the other repeatable fields, if all items are deselected, the top item should auto select so it is enabled making it not possible to deselect all.

    This was corrected for the social network types so it should no longer be possible to get this error after the next update is released.

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

The topic ‘waring backend after update class.options.php’ is closed to new replies.