• Resolved johnamp

    (@johnamp)


    If we turn on our debug.log to sort other issues, it gets huge within minutes. 99% of it is Social Warfare errors.

    Any chance this can be updated. This is on a site with PHP 8.1.29

    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Buttons_Panel::$is_shortcode is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel.php on line 210
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Buttons_Panel::$post_data is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel.php on line 319
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Post_Cache::$post_id is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/utilities/SWP_Post_Cache.php on line 94
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Post_Cache::$share_counts is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/utilities/SWP_Post_Cache.php on line 902
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Buttons_Panel::$shares is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel.php on line 360
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Buttons_Panel::$permalink is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel.php on line 504
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Buttons_Panel::$classes is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel_Trait.php on line 845
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Buttons_Panel::$attributes is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel_Trait.php on line 824
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Twitter::$html is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/social-networks/SWP_Social_Network.php on line 392
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Linkedin::$html is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/social-networks/SWP_Social_Network.php on line 392
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Pinterest::$html is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/social-networks/SWP_Pinterest.php on line 274
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Facebook::$html is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/social-networks/SWP_Social_Network.php on line 392
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Buttons_Panel::$inner_html is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel_Trait.php on line 803
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Buttons_Panel_Side::$networks is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel.php on line 207
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Buttons_Panel_Side::$is_shortcode is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel.php on line 210
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Buttons_Panel_Side::$post_data is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel.php on line 319
    [03-Jul-2024 16:47:27 UTC] PHP Deprecated: Creation of dynamic property SWP_Buttons_Panel_Side::$shares is deprecated in /var/www/vhosts/mysite.com/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel.php on line 360

Viewing 1 replies (of 1 total)
  • Plugin Contributor Andrii Balashov

    (@andbalashov)

    Hi @johnamp ,

    Thank you for reaching out. We’ve been working on addressing the compatibility issues with PHP 8.1, and I’m pleased to inform you that we’ve resolved the deprecation warnings in the upcoming version of the plugin.

    I recommend trying out version 4.5.4-beta, which you can download from this link: Social Warfare 4.5.4 Beta. This version should resolve the errors you’re seeing in the debug log.

    Before testing the new version, please delete your existing debug.log file to start fresh and ensure that any errors logged are specific to the current state of your site.

    If you continue to experience any issues, please don’t hesitate to contact me.

    Thanks for your patience and understanding.

    Best regards,
    Andrii Balashov

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.