• Activating Rank Math Version 1.0.108?in PHP 8.2 in WP 6.2-beta1, gives following deprecated warnings.

    Deprecated: Creation of dynamic property RankMath\Admin\Registration::$step is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\admin\class-registration.php on line 61
    
    Deprecated: Creation of dynamic property RankMath\Admin\Registration::$step_slug is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\admin\class-registration.php on line 62
    
    Deprecated: Creation of dynamic property RankMath\Analytics\Analytics::$id is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\traits\class-hooker.php on line 117
    
    Deprecated: Creation of dynamic property RankMath\Analytics\Analytics::$directory is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\traits\class-hooker.php on line 117
    
    Deprecated: Creation of dynamic property RankMath\Analytics\Analytics::$help is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\traits\class-hooker.php on line 117
    
    Deprecated: Creation of dynamic property RankMath\Analytics\Analytics::$page is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\modules\analytics\class-analytics.php on line 435
    
    Deprecated: Creation of dynamic property RankMath\Analytics\Stats::$end is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\modules\analytics\class-stats.php on line 93
    
    Deprecated: Creation of dynamic property RankMath\Analytics\Stats::$start is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\modules\analytics\class-stats.php on line 94
    
    Deprecated: Creation of dynamic property RankMath\Tools\Update_Score::$screen is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\modules\database-tools\class-update-score.php on line 46
    
    Deprecated: Creation of dynamic property RankMath\Admin\Options::$key is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\traits\class-hooker.php on line 117
    
    Deprecated: Creation of dynamic property RankMath\Schema\Admin::$id is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\traits\class-hooker.php on line 117
    
    Deprecated: Creation of dynamic property RankMath\Schema\Admin::$directory is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\traits\class-hooker.php on line 117
    
    Deprecated: Creation of dynamic property RankMath\SEO_Analysis\Admin::$id is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\traits\class-hooker.php on line 117
    
    Deprecated: Creation of dynamic property RankMath\SEO_Analysis\Admin::$directory is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\traits\class-hooker.php on line 117
    
    Deprecated: Creation of dynamic property RankMath\SEO_Analysis\Admin::$page is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\modules\seo-analysis\class-admin.php on line 57
    
    Deprecated: Creation of dynamic property RankMath\SEO_Analysis\SEO_Analysis::$admin is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\modules\seo-analysis\class-seo-analysis.php on line 36
    
    Deprecated: Creation of dynamic property RankMath\Sitemap\Admin::$id is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\traits\class-hooker.php on line 117
    
    Deprecated: Creation of dynamic property RankMath\Sitemap\Admin::$directory is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\seo-by-rank-math\includes\traits\class-hooker.php on line 117
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @ipajen,

    Thank you for contacting support.

    This is something that our developers are aware and they are making a note of all the dynamic properties in the plugin to change them and make sure this deprecation doesn’t happen.

    At the moment this won’t cause any issues with the plugin since the deprecation is only coming into play when PHP9 is released but we are already taking steps to mitigate the situation and make sure the plugin is ready for when that happens.

    Don’t hesitate to get in touch if you have any other questions.

    Has there been any update on this warning? I tried adding [AllowDynamicProperties]

    before class but that didn’t work.

    Edit: I’m using the latest version of the plugin (1.0.115)

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @monsefsolutions,

    We have an open issue in our repository to track all the dynamic properties and update the code so it doesn’t throw this notice.

    At the moment we haven’t fixed all dynamic properties in our plugin, but we assure you that the developers are working on fixing this situation.

    You can keep an eye on our changelog to get notified when this is completely fixed. https://rankmath.com/changelog/

    Hope that helps. Let us know if you need any other assistance.

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @ipajen & @monsefsolutions,

    Thank you for your patience.

    We released a quick Beta update you can try to see if that helps.

    Please enable the Beta update by following this:
    https://rankmath.com/kb/version-control/#beta-updates

    Screenshot for reference: https://i.rankmath.com/i/zJFYaH
    If you are unable to see an update, please clear Rank Math’s transients from:
    WP Dashboard > Rank Math > Status & Tools > Database Tools > Remove Rank Math Transients > Remove transients
    Screenshot for reference: https://i.rankmath.com/Pbu5J6

    Please clear the caches, server, and WordPress after updating.

    You can disable the Beta updates once you update to the latest version and if the issue is fixed.

    We are here to assist.

    Thread Starter Jarko Piironen

    (@ipajen)

    @rankmathteam Thank you for the beta.

    Many gone but there are still issues:

    activate plugin:

    DeprecatedCreation of dynamic property RankMath\Redirections\Redirections::$admin is deprecated+wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirections.php:881Plugin: seo-by-rank-math

    Import and export

    WarningUndefined array key “id”+wp-content/plugins/seo-by-rank-math/includes/module/class-base.php:1411Plugin: seo-by-rank-mathWarningUndefined array key “default”+wp-content/plugins/seo-by-rank-math/includes/module/class-base.php:1421Plugin: seo-by-rank-math

    Redirections

    DeprecatedCreation of dynamic property RankMath\Redirections\Admin::$form is deprecated+wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-admin.php:1021Plugin: seo-by-rank-math

    DeprecatedCreation of dynamic property RankMath\Redirections\Admin::$import_export is deprecated+wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-admin.php:1051Plugin: seo-by-rank-math

    DeprecatedCreation of dynamic property RankMath\Redirections\Redirections::$admin is deprecated+wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirections.php:881Plugin: seo-by-rank-math

    Seo analyser

    WarningUndefined array key “id”+wp-content/plugins/seo-by-rank-math/includes/module/class-base.php:1411Plugin: seo-by-rank-math

    WarningUndefined array key “default”+wp-content/plugins/seo-by-rank-math/includes/module/class-base.php:1421Plugin: seo-by-rank-math

    DeprecatedCreation of dynamic property RankMath\Redirections\Redirections::$admin is deprecated+wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirections.php:881Plugin: seo-by-rank-math

    DeprecatedCreation of dynamic property RankMath\SEO_Analysis\Admin::$analyzer is deprecated+wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/class-admin.php:611Plugin: seo-by-rank-math

    System status

    DeprecatedCreation of dynamic property RankMath\Status\System_Status::$wp_info is deprecated+wp-content/plugins/seo-by-rank-math/includes/modules/status/class-system-status.php:2291Plugin: seo-by-rank-math

    Thank you

    Plugin Support Rank Math Support

    (@rankmathsupport)

    @ipajen We are sorry for the inconvenience.

    We are working on a fix and we will have it in the upcoming stable update. We request a little more patience while we sort this out.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP 8.2 deprecated warning’ is closed to new replies.