Viewing 1 reply thread
  • Author
    Posts
    • #842
      harry
      Member

      hey steve,

      was wondering what will go horribly wrong if I temporarily turn off the pre_update_option filter for the option settings. The reason being I needed to update one of the options (a counter) whenever an event happens but since the pre_update_option is using the $_REQUEST it’s dying on me.

      Warning: current() [function.current]: Passed variable is not an array or object in ….\wp-content\plugins\piklist\includes\class-piklist-setting.php on line 152

      Warning: Invalid argument supplied for foreach() in …..\wp-content\plugins\piklist\includes\class-piklist-setting.php on line 152

      best regards,
      Harris

    • #849
      Kevin
      Keymaster

      Hi Harris-

      Can you post a snippet of what you are running? If you turn off the function piklist created settings may not save properly if your using tabs on the settings pages.

      Thanks,

      Kevin

Viewing 1 reply thread
  • You must be logged in to reply to this topic.