• Resolved pikamander2

    (@pikamander2)


    Hi there, this plugin is flooding our error log with deprecation warnings in PHP 8.2. Here are some of the more common ones:

    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$videos is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$video_thumbnail is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$video_scan_date is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$local_seo is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$limit_modified_date is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$options is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$post_id is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$title is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$description is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$keywords is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$keyphrases is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$page_analysis is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$canonical_url is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_title is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_description is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_object_type is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_image_type is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_image_url is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_image_width is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_image_height is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_image_custom_url is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_image_custom_fields is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_video is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_custom_url is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_article_section is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$og_article_tags is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$twitter_use_og is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$twitter_card is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$twitter_image_type is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177; 
    
    PHP message: PHP Deprecated:  Creation of dynamic property AIOSEO\\Plugin\\Common\\Models\\Post::$twitter_image_url is deprecated in /public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 177;

    We’re aware that deprecation warnings aren’t fatal errors but it’s still filling up our error log very quickly, so we’re looking forward to a fix soon if possible.

    PHP Watch has some more info about the error if it helps: https://php.watch/versions/8.2/dynamic-properties-deprecated

Viewing 1 replies (of 1 total)
  • Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @pikamander2,

    Thank you for reporting these warnings.

    We’ve just created an issue this week to add support for PHP 8.2 and will be looking into this as soon as we can. We’ll keep you updated on our progress.

Viewing 1 replies (of 1 total)
  • The topic ‘Large number of PHP 8.2 deprecations’ is closed to new replies.