Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1741

Unable to publish content with default ez recommendation config

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: eZ Recommendation
    • Labels:
      None

      Description

      Unable to publish content with default ez recommendation configuration.

      Warning: in_array() expects parameter 2 to be array, null given
      
      #1 vendor/ezsystems/recommendation-bundle/Client/YooChooseNotifier.php(134): in_array('article', NULL)
      #2 vendor/ezsystems/recommendation-bundle/eZ/Publish/Slot/PublishVersion.php(21): 
      EzSystems\RecommendationBundle\Client\YooChooseNotifier->updateContent(256)
      

      Affects Version: >= 1.2

      Solution: default value for `included_content_types` should be empty array, not null.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            damian.zabawa@ez.no Damian Zabawa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: