Forum


Structured Data - Advanced error

Florin Gaibar
50%
Posts: 50
  • TF Structured Data
April 04, 2023

If I set Advanced > Show Custom Schema, I have this error in submenu item. In this submenu I have 1 article with fields using TF lists. I use this fields to create links to products, are some cods, like an index of codes.

I dont know for what is Advanced option, but my products, articles, forum, looks well in Rich Results Test. So I cancel / disabled Advanced > Show Custom Schema

error is:

0 in_array(): Argument #2 ($haystack) must be of type array, null given

Joomla Fry
100%
Posts: 1076
April 05, 2023

Hello

Please enable Debug mode from Global configuration. It will show the file name from where the error is coming.

Thank you

Florin Gaibar
50%
Posts: 50
April 06, 2023

I can't send attachment.

This is the mesage with debug system.

0 in_array(): Argument #2 ($haystack) must be of type array, null given Call stack # Function Location 1 () JROOT/plugins/content/tfsd/tfsd.php:42 2 in_array() JROOT/plugins/content/tfsd/tfsd.php:42 3 PlgContentTfSd->onContentAfterDisplay() JROOT/libraries/src/Plugin/CMSPlugin.php:279 4 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486 5 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:107 6 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/components/com_content/src/View/Article/HtmlView.php:236 7 Joomla\Component\Content\Site\View\Article\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:639 8 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_content/src/Controller/DisplayController.php:121 9 Joomla\Component\Content\Site\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672 10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143 11 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/components/com_content/src/Dispatcher/Dispatcher.php:56 12 Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355 13 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208 14 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249 15 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294 16 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61 17 require_once() JROOT/index.php:32
Login to Reply