• Hi, I am getting this error and the catalog will not load…

    PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in …/wp-content/plugins/ultimate-product-catalogue/ewd-upcp-templates/catalog-information.php

    The error goes away if I revert the site to PHP 7.4. Is there a new version coming that is PHP 8.1 ready?

    Running version 5.2.13

    Mitch

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hi Mitch,

    The file/line referenced in the error would seem to imply that the issue is with the “Show Catalog Information” option (found in the Basic area of the settings page). An error like this normally indicates that this option is not saved correctly. Do you currently have either choice checked for this option? Either way, can you make a change to the option (e.g. just check either or both choices) and then save the settings page? Does that get rid of the error?

    Thread Starter Mitchell Bennis

    (@eemitch)

    Thank you. Neither option was checked and saving the settings without changes did fix the issue. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error’ is closed to new replies.