Tagged: , ,

  • This topic has 1 reply, 2 voices, and was last updated 1 week ago by Steve.
Viewing 1 reply thread
  • Author
    Posts
    • #11181
      thor
      Member

      Regarding this topic that was solved and closed: https://piklist.com/support/topic/notice-trying-to-access-array-offset-on-value-of-type-bool/

      I actually get the error again on another website. I have the latest Piklist and still get the error:
      Notice: Trying to access array offset on value of type bool in /var/www/moumou.dk/cc/wp-content/plugins/piklist/includes/class-piklist-meta.php on line 126
      If I change line 126 from
      if(!is_null($meta_box['id']))
      to
      if($meta_box && !is_null($meta_box['id']))
      It seems to work and throws no errors.

    • #11182
      Steve
      Keymaster

      Thanks, @thor! We’ll update Piklist with this change.

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