• Hello there,

    The plugin caused PHP deprecated warnings when running in PHP 8.0+ environment, here are the warnings:

    JQMIGRATE: jQuery.fn.click() event shorthand is deprecated

    JQMIGRATE: Number-typed values are deprecated for jQuery.fn.css( “font-size”, value )

    Please look into it, thanks!

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

    (@yydevelopment)

    Hi, where do you see the errors?

    It doesn’t seems like php warning but something that related to jquery.

    Is there something with the plugin that doesn’t work on your side or just warning?

    While you should be too alerm by warning let me know where you see the errors and i take a look when i get a chacne.

    Thread Starter ImageQilin

    (@qilin2000)

    Hello author,

    Thanks for your fast response, yes, it does relates to jQuery, all warning messages mention a file: /front-end/yydev-accessibility.js

    I think some codes in this file need to be updated.

    Open the browser’s inspection option, switch to the console, and you will be able to see the warning message. I tested the plugin via Firefox and Chrome, both have warnings.

    Despite the warning message, the plugin can still run properly, but for better compatibility and sustainability, it is recommended to update the plugin. I am not good at writing code, when I encounter such kind of problem, I usually throw the code into ChatGPT to modify it, which is quick and effective, haha. But you are the author of this plugin, you decide how to modify it.

    Thank you.

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

The topic ‘PHP deprecated warnings’ is closed to new replies.