All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Error listing categories

Status Resolved
Add-on / Version Publisher 1.7.1
Severity
EE Version 2.11

Cameron Ross

Nov 29, 2016

Hi

I am trying to list categories using the following:

{exp:channel:categories channel="events" style="none" show_empty="yes" category_group="1"}

  • {category_name}
  • {/exp:channel:categories}

    But i am getting the following error


    A PHP Error was encountered

    Severity: Warning

    Message: Declaration of Publisher_channel_categories::category_subtree($cdata = Array) should be compatible with Channel::category_subtree($cdata, $active_cat)

    Filename: Publisher/Publisher_channel_categories.php

    Line Number: 0

    #1

    BoldMinded (Brian)

    I can send the full build if you need me to, but this is the fix:

    https://www.dropbox.com/s/vnod30yatc0u15n/Screenshot%202016-11-29%2006.48.49.png?dl=0

    #2

    Cameron Ross

    Thanks

    Got that sorted

    Login to reply