• I am getting the following warning messages:

    Deprecated: Optional parameter $level declared before required parameter $parent_id_array is implicitly treated as a required parameter in /home/johnwhoc/aitoolcritic.com/wp-content/plugins/link-library/render-link-library-cats-sc.php on line 17

    Deprecated: Optional parameter $onlycount declared before required parameter $linkcount is implicitly treated as a required parameter in /home/johnwhoc/aitoolcritic.com/wp-content/plugins/link-library/render-link-library-sc.php on line 314

    Deprecated: Optional parameter $parent_cat_id declared before required parameter $linkcount is implicitly treated as a required parameter in /home/johnwhoc/aitoolcritic.com/wp-content/plugins/link-library/render-link-library-sc.php on line 314

    Deprecated: Optional parameter $level declared before required parameter $linkcount is implicitly treated as a required parameter in /home/johnwhoc/aitoolcritic.com/wp-content/plugins/link-library/render-link-library-sc.php on line 314

    Deprecated: Optional parameter $display_children declared before required parameter $linkcount is implicitly treated as a required parameter in /home/johnwhoc/aitoolcritic.com/wp-content/plugins/link-library/render-link-library-sc.php on line 314

    Deprecated: Optional parameter $hide_children_cat_links declared before required parameter $linkcount is implicitly treated as a required parameter in?/home/johnwhoc/aitoolcritic.com/wp-content/plugins/link-library/render-link-library-sc.php?on line?314

    ChatGPT says

    he warning indicates that you have an optional parameter placed before a required one, which isn’t allowed as of PHP 8.0 and generates a deprecation warning.

    Is this something you plan to fix or do i need to attempt the fix myself?

    Thank you,

    John

  • The topic ‘Deprecated: Optional parameter $level declared before required parameter’ is closed to new replies.