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 https://github.com/GCX/acf-taxonomy-field/pulls