• Resolved clipb

    (@clipb)


    Hi,
    I noticed two notices coming from plugin after switching to PHP 8:

    Deprecated: Required parameter $content follows optional parameter $atts in menu-in-post/menu-in-post.php on line 24

    Deprecated: Required parameter $shortcode_tag follows optional parameter $atts in menu-in-post/menu-in-post.php on line 24

    Can you do something about it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author linux4me2

    (@linux4me2)

    Hi @clipb

    I haven’t been able to reproduce this, but PHP 8.x definitely deprecates optional parameters coming before required ones, so I altered the code accordingly and uploaded a version (1.1.9) with the correction. It should be available shortly.

    Thanks for pointing this out. I’m going to mark this as resolved, but if you have any further issues with this, let me know.

    I also saw those warnings on upgrading to PHP 8, and I confirm that the update to 1.1.9 fixes them. Thank you!

    Plugin Author linux4me2

    (@linux4me2)

    @cparkinson, Thanks for confirming the fix works!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP 8 deprecation notices’ is closed to new replies.