• Resolved balram19

    (@balram19)


    Hello,

    I am getting too much errors in your plugins while activating.

    [30-Aug-2023 05:44:00 UTC] PHP Deprecated: Creation of dynamic property H5P_Plugin_Admin::$privacy is deprecated in F:\xampp\htdocs\wordpress\wp-content\plugins\h5p\admin\class-h5p-plugin-admin.php on line 63
    [30-Aug-2023 05:44:02 UTC] PHP Deprecated: Creation of dynamic property H5P_Plugin_Admin::$privacy is deprecated in F:\xampp\htdocs\wordpress\wp-content\plugins\h5p\admin\class-h5p-plugin-admin.php on line 63
    [30-Aug-2023 05:44:02 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in F:\xampp\htdocs\wordpress\wp-content\plugins\h5p\admin\class-h5p-plugin-admin.php on line 547
    [30-Aug-2023 05:44:03 UTC] PHP Deprecated: Creation of dynamic property H5PCore::$url is deprecated in F:\xampp\htdocs\wordpress\wp-content\plugins\h5p\h5p-php-library\h5p.classes.php on line 2070
    [30-Aug-2023 05:44:03 UTC] PHP Deprecated: Creation of dynamic property H5PCore::$development_mode is deprecated in F:\xampp\htdocs\wordpress\wp-content\plugins\h5p\h5p-php-library\h5p.classes.php on line 2072
    [30-Aug-2023 05:44:03 UTC] PHP Deprecated: Creation of dynamic property H5PCore::$aggregateAssets is deprecated in F:\xampp\htdocs\wordpress\wp-content\plugins\h5p\h5p-php-library\h5p.classes.php on line 2074
    [30-Aug-2023 05:44:03 UTC] PHP Deprecated: Creation of dynamic property H5PCore::$fullPluginPath is deprecated in F:\xampp\htdocs\wordpress\wp-content\plugins\h5p\h5p-php-library\h5p.classes.php on line 2077
    [30-Aug-2023 05:44:03 UTC] PHP Deprecated: Creation of dynamic property H5PCore::$relativePathRegExp is deprecated in F:\xampp\htdocs\wordpress\wp-content\plugins\h5p\h5p-php-library\h5p.classes.php on line 2080

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author icc0rz

    (@icc0rz)

    This will be fixed in a future version.

    Note that these messages should only be visible in a development setup and not on a live site. If it’s not a debug site you have probably not configured the error_reporting option in php.ini appropriately.

    Thread Starter balram19

    (@balram19)

    Hello @icc0rz,

    How I can configured in php.ini file.

    Plugin Author icc0rz

    (@icc0rz)

    I am not familiar with your hosting setup or existing configuration so that is difficult for me to answer. I suggest reading one of numerous guides on the topic and requesting help in the approperiate hosting forum depending on your provider. E.g. https://wordpress.com/go/tutorials/set-up-wordpress-error-logs/

    Thread Starter balram19

    (@balram19)

    Hello @icc0rz,

    It’s not a proper solution to hide the mistakes of your plugin.

    you have to solve these errors in your plugin.

    Thanks

    Plugin Author icc0rz

    (@icc0rz)

    Deprecation notices are used to inform plugin developers that specific functions will not be available anymore in the future. It’s not a mistake.

    You as a user do not have to worry about it, the reason you are seeing them is because your PHP is set up with development logging enabled. By default, these are off when setting up PHP for a production environment, ref. the default config: https://github.com/php/php-src/blob/master/php.ini-production#L110

    Again, you’ll probably want to figure out why you are using something different than the default recommended here.

    codepuncher

    (@krypsin)

    When do you plan to resolve the deprecation warnings?

    Plugin Author icc0rz

    (@icc0rz)

    They should be resolved in the next release of the plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Deprecated error after php update’ is closed to new replies.