• Resolved robelo2

    (@robelo2)


    I get this error messages when I enable Paid Memberships Pro plugin on my wordpress. I am running the latest versions. PMP 2.1.1.2 and WordPress 6.2.2. I have no other plugins activated.


    Deprecated: Creation of dynamic property PMPro_Admin_Activity_Email::$body is deprecated in C:\XAMPP\htdocs\wordpress\wp-content\plugins\paid-memberships-pro\classes\class.pmproemail.php on line 7

    Deprecated: Creation of dynamic property PMPro_Admin_Activity_Email::$data is deprecated in C:\XAMPP\htdocs\wordpress\wp-content\plugins\paid-memberships-pro\classes\class.pmproemail.php on line 7

    Deprecated: Creation of dynamic property PMPro_Admin_Activity_Email::$template is deprecated in C:\XAMPP\htdocs\wordpress\wp-content\plugins\paid-memberships-pro\classes\class.pmproemail.php on line 7

    Deprecated: Creation of dynamic property PMPro_Admin_Activity_Email::$subject is deprecated in C:\XAMPP\htdocs\wordpress\wp-content\plugins\paid-memberships-pro\classes\class.pmproemail.php on line 7

    Deprecated: Creation of dynamic property PMPro_Admin_Activity_Email::$fromname is deprecated in C:\XAMPP\htdocs\wordpress\wp-content\plugins\paid-memberships-pro\classes\class.pmproemail.php on line 7

    Deprecated: Creation of dynamic property PMPro_Admin_Activity_Email::$from is deprecated in C:\XAMPP\htdocs\wordpress\wp-content\plugins\paid-memberships-pro\classes\class.pmproemail.php on line 7

    Deprecated: Creation of dynamic property PMPro_Admin_Activity_Email::$email is deprecated in C:\XAMPP\htdocs\wordpress\wp-content\plugins\paid-memberships-pro\classes\class.pmproemail.php on line 7

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi @robelo2

    Thank you for reaching out to Paid Memberships Pro. I’m sorry to hear about these warnings you are facing.

    What version of PHP are you using – this generally happens on newer PHP versions (I’ve tried on 8.1.9 but unable to replicate)? I’d like to try and replicate this on my end.

    For now, I recommend to turn debugging off to hide these deprecation warnings. It should not cause any functionality issues, but we would like to get this resolved soon.

    Plugin Author Andrew Lima

    (@andrewza)

    Here is a small PR that defines the properties and should remove the warning – https://github.com/strangerstudios/paid-memberships-pro/pull/2519

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deprecated errors’ is closed to new replies.