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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • None
    • None
    • eZ Recommendation
    • 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

            Unassigned Unassigned
            damian.zabawa-obsolete@ibexa.co Damian Zabawa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: