Home Forums General Issues Taxonomy Field Add-on PHP problem


Taxonomy Field Add-on PHP problem

  • Hi,

    I recently updated the PHP version of my server to PHP 7.1 and started getting this error at both front and back end for the Taxonomy Field Add-on plugin:

    Declaration of ACF_Walker_Taxonomy_Field_Checklist::start_el(&$output, $category, $depth, $args, $id = 0) should be compatible with Walker::start_el(&$output, $object, $depth = 0, $args = Array, $current_object_id = 0) in /wp-content/plugins/advanced-custom-fields-taxonomy-field-add-on/taxonomy-field.php on line 513

    And same problem on line 557. I know the plugin is deprecated, but I need to use it anyway. Do you have any idea about how to fix this? Just changing what the warning says makes my site stop working…

    Thanks a lot.

  • You need to edit that plugin so that the function it’s talking about is compatible with the core version of the same method. I don’t know what would be involved in doing that.

    It actually looks like there is a pull request that would fix this issue

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Taxonomy Field Add-on PHP problem’ is closed to new replies.