WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
WP_User:WP_User undefined method (2 posts)

  1. gruvii
    Member
    Posted 3 years ago #

    If you get the error WP_User:WP_User undefined method in classes/em_person.php line 24 it is because of the newer

    // parent::WP_User($person_id);
    instead use
    parent::__construct($person_id);

    As of PHP 5.3.3, methods with the same name as the last element of a namespaced class name will no longer be treated as constructor. This change doesn't affect non-namespaced classes.

    http://php.net/manual/en/language.oop5.decon.php

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    thx! will check this out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic