Custom Fields
Re-Envisioned
Support MB User Profile Private $user_id and $config causes bugs in rwmb_profile_before_save_user

  • Creator
    Topic
  • #16151
    Resolved Cédric Dagherir
    Participant

    Hi,

    After you last release, the var $user_id and $config became private in the User class. But we can’t use them anymore in the hooks rwmb_profile_before_save_user and rwmb_profile_after_save_user : the argument $object has these 2 private variables unreachable for testing or if conditions.

    Maybe you should add two getter variables or change these var for public type ?

    Thanks,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #16169
    Anh Tran
    Keymaster

    Hi Cedric, it’s fixed in version 1.4.2. Please update.

    #16171
    Cédric Dagherir
    Participant

    Hi Tran,

    OK thanks. I use AIO, which dont include the 1.4.2… Would you update User Profile in the AIO in the next days ?

    #16175
    Anh Tran
    Keymaster

    Yes, I’m finalizing some issues and will release new version for AIO in a few days.

    #16178
    Cédric Dagherir
    Participant

    OK. Thank you Tran for that and your work !

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