Viewing 3 replies - 16 through 18 (of 18 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    Aha! Found it!

    For some reason, the default options did not get defined on activation, or something happened to the options at some point. When an active plugin uses WP’s get_option() function, WP returns false if it doesn’t find anything. Since NGFB’s options are one big array, that’s a problem — can’t go handling an array if get_option() returns a string. ??

    I could pass a default value to get_option(), but I chose to test the result afterwards, just in case. ??

    I might look into displaying a warning message if get_option() doesn’t return anything for an **active** plugin. That just shouldn’t happen…

    Anyway, you can download the current dev version and everything should be good. ??

    https://downloads.www.ads-software.com/plugin/nextgen-facebook.zip

    Thanks,

    js.

    yes, now it works. thanks!

    Plugin Author JS Morisset

    (@jsmoriss)

    NP. ??

    I just finished adding a warning message to the dev version when this happens. ??

    js.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Warning: array_key_exists():’ is closed to new replies.