Support » Plugin: Plugin Name: WP Symposium Toolbar » Warning: array_intersect() 0.0.14

  • Resolved Doremdou


    Hello! 🙂
    Nice plugin, exactly what I need with WP Symposium!
    thank you a lot for this 🙂

    I just have one problem, it was working fine with 0.0.11 but I just upgraded to 0.0.14 and now I have this error:

    Warning: array_intersect() [function.array-intersect]: Argument #2 is not an array in …/plugins/wp-symposium-toolbar/wp-symposium-toolbar_functions.php on line 354

    thank you for your help!
    and keep up the good work 🙂


Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Guillaume Assire


    Sorry to read about the PHP error.

    Could you visit the plugin options page, and at the bottom in the import/export feature, try to find in the textarea the line starting with ‘wpst_toolbar_wp_toolbar’ and copy/paste it here. If you can’t find it, let me know as well.

    Second, try saving options and let me know if the error vanishes, and if the content of that line has changed…?

    Thanks for reporting this, and thanks for your nice words, as well 🙂

    Plugin Contributor Central Geek


    I just updated to 0.0.14 and I’m not getting that warning at all.
    Is it possible this warning is showing up as a result of another plugin?
    I updated from .12 though.
    I have also updated on both multisite (with WPS) and single site without WPS. The multisite is on a local machine.

    Plugin Author Guillaume Assire


    The release 0.0.15 just uploaded hardens the plugin to avoid such warnings in case a stored option isn’t an array… And the plugin does an extensive use of arrays to store roles. I was a little concerned with the overhead it might represent in term of page load times, but tests ran by my preferred tester (here above, many thanks to him) didn’t show a significant increase in load times, and users don’t like PHP warnings (I don’t either).

    In general if you find that the plugin has an odd behaviour, visiting the options page will inform of any discrepency in the saved options, and saving those options should sort things out.



    thanks for your answers 🙂
    I uninstalled it and installed it again and the error disappeared.
    Seems that the error was only showing up when upgrading from an old version.


    Plugin Contributor Central Geek


    This issue seems to have been resolved.
    I know it hasn’t shown up for me at all..

    Plugin Author Guillaume Assire


    Yup, this shouldn’t arise anymore from 0.0.15 onwards. Hence, closing the ticket. Anybody with a similar issue, please upgrade ASAP, visit the options page, check your settings, and save.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Warning: array_intersect() 0.0.14’ is closed to new replies.