• Resolved tungdo

    (@tungdo)


    Warning: array_filter() expects parameter 1 to be array, null given in C:\xampp\htdocs\themetrance\wp-content\plugins\prismatic\inc\resources-enqueue.php on line 134

    Additional notice with debug mode turned on:

    Notice: Undefined variable: languages in C:\xampp\htdocs\themetrance\wp-content\plugins\prismatic\inc\resources-enqueue.php on line 196

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hi tungdo,

    Thank you. In order to help resolve this issue, I need to be able to re-create it. Can you let me know which settings and steps are required to trigger the warning and notice?

    Thank you, I appreciate your feedback.

    Thread Starter tungdo

    (@tungdo)

    I’ve narrowed it down to one setting:
    Limit to Posts and Pages

    If I uncheck that box to use Prismatic on custom post types, the warning appears on all archive pages. It doesn’t appear on custom front page and singular pages.

    Personally, I’ve gotten around this issue by making wp-config.php hide warnings, but I’ve seen a site online with the same problem. If you google “WordPress prismatic Warning: array_filter() expects parameter 1 to be array”, you’ll find it.

    Hope that helps ??

    Plugin Author Jeff Starr

    (@specialk)

    That is extremely helpful. I will investigate and get this fixed up in the next version. Thank you again for your help.

    Plugin Author Jeff Starr

    (@specialk)

    Just to follow up with this, all PHP Warnings and Notices are resolved in the next version of the plugin. Should be available within the next week or so. Thanks again for the feedback.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warnings’ is closed to new replies.