• Resolved Mati

    (@mattheus)


    Hi team,

    After the new update i’m seeing a deprecated warning in PHP 8.2 related to dynamic property creation in the Post SMTP plugin:

    PHP Deprecated: Creation of dynamic property PostmanGetDiagnosticsViaAjax::$cleanDiagnostics is deprecated in /wp-content/plugins/post-smtp/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php on line 170

    It seems the property $cleanDiagnostics is being created dynamically without being declared in the class beforehand. This is deprecated in PHP 8.2+ and may cause compatibility issues in future PHP versions.

    Could you please fix this in an upcoming update by explicitly declaring the property in the class?

    Thanks in advance!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Same issue

    Same issue here, runing php 8.3

    Plugin Support M Aqib Khan

    (@aqibkhan9)

    Hello @mattheus

    We hope this message finds you well.

    Thank you for reaching out to our Support team. We’re truly sorry to hear that you’ve encountered this issue, this is certainly not the experience we aim to provide.

    I’ve forwarded the details to our technical team for further analysis. I will get back to you as soon as I receive their response or if we require any additional information from your end.

    We truly appreciate your patience and cooperation throughout this process. If you have any questions or concerns in the meantime, please don’t hesitate to reach out.

    Warm regards,
    Support Team – WP Experts

    Plugin Support M Aqib Khan

    (@aqibkhan9)

    Hi @mattheus

    I appreciate your patience and cooperation as we worked through resolving the issue.

    I’m pleased to inform you that we have identified and successfully fixed the problem.

    Kindly download and install the provided Beta version after deactivating the current plugin, at your earliest convenience, and let me know how it performs on your end.

    Download Now

    Your feedback is highly valuable and will help us ensure a smoother experience moving forward.

    Looking forward to hearing from you.

    Warm regards,
    Support Team – WP Experts

    This is still an issue with the patch uploaded:

    ation of dynamic property PostmanGetDiagnosticsViaAjax::$cleanDiagnostics is deprecated in /home/customer/www/registration.utmr.ch/public_html/wp-content/plugins/post-smtp/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php on line 170

    Thread Starter Mati

    (@mattheus)

    sorry for the late reply i installed it and will let you know

    Thread Starter Mati

    (@mattheus)

    stil not fixed:

    [20-Jun-2025 12:52:41 UTC] PHP Deprecated: Creation of dynamic property PostmanGetDiagnosticsViaAjax::$cleanDiagnostics is deprecated in /public_html/wp-content/plugins/post-smtp/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php on line 170

    Thread Starter Mati

    (@mattheus)

    sorry i see that after i uploaded your adjusted plugin the error was gone. i had automatic update turned on so later today the plugin was updated to the version that is pulled from wordpress. can you push the fix online so i can update it normally?

    Plugin Support M Aqib Khan

    (@aqibkhan9)

    Hey @mattheus

    Thank you so much for confirming. I’m glad to let you know that the fix will be included in the upcoming sprint.

    In the meantime, I kindly recommend disabling auto-updates for Post SMTP to avoid any unexpected changes until the fix is officially released.

    If you’ve found my support and the plugin helpful, it would truly mean a lot if you could leave a kind review.

    Thank you so much for considering this!

    Warm regards,
    Support Team – WP Experts

    Thread Starter Mati

    (@mattheus)

    after i updated to 3.3.0 i stil get the message:
    [27-Jun-2025 16:50:41 UTC] PHP Deprecated: Creation of dynamic property PostmanGetDiagnosticsViaAjax::$cleanDiagnostics is deprecated in /wp-content/plugins/post-smtp/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php on line 170

    Plugin Support M Aqib Khan

    (@aqibkhan9)

    Hey @mattheus

    I’m truly sorry to hear that you’re experiencing the issue. I want to clarify that the official fix has not been released yet, which is why the issue persists on your end.

    In the meantime, I kindly ask you to continue using the beta version, as it includes the necessary fix. The official release with this fix is planned for an upcoming sprint.

    Thank you for your continued patience and understanding. If you have any questions or need assistance in the meantime, feel free to reach out.

    Warm regards,
    Support Team – WP Experts

    Hello Aqib,

    Do you have a tentative date for the upcoming sprint where this bug will be fixed?

    Thank you,

    Rpb1001

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

The topic ‘PHP 8.2 Deprecated Notice – Dynamic Property $cleanDiagnostics’ is closed to new replies.