• Resolved longnha

    (@longnha)


    Hi,

    On PHP 8.1, I got the following error message:

    [25-Nov-2023 15:42:20 UTC] PHP Warning: Undefined array key "" in public_html/wp-content/plugins/simple-taxonomy-refreshed/includes/class-simpletaxonomyrefreshed-client.php on line 1137

    Can you please update the plugin?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nwjames

    (@nwjames)

    @longnha,

    Thank you for raising this issue. I will prepare a fix.

    If you are able to edit the code, then it should remove the issue for you.

    Line 267 of includes/class-simpletaxonomyrefreshed-client.php

    		$hier                     = ( isset( $taxonomy['hierarchical'] ) && ! empty( $taxonomy['hierarchical'] ) ? $taxonomy['hierarchical'] : 1 );
    

    [Note. This is a single line. It is wrapped as I enter the response to you.]

    Regards,

    Neil James

    Plugin Author nwjames

    (@nwjames)

    @longnha,

    This has been addressed in Version 3.2.0.

    Thanks for raising the issue.

    Neil James

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Warning: Undefined array key “”’ is closed to new replies.