Front: Trying to get property of non-object in Manager.php on line 244
-
Hi,
I’ve WP 4.7.3, Advanced Access Manager 4.2, AAM Plus Package v3.3, PHP 5.6.30When displaying WP home page as anonymous (no current user) there is the error:
Notice: Trying to get property of non-object in /home/cyrille/Taf/Promeneurs du Net/wordpress/wp-content/plugins/advanced-access-manager/Application/Frontend/Manager.php on line 244
The line 244 in Manager.php is :
$object = AAM::getUser()->getObject('post', $post->ID);
Seems that
AAM::getUser()
returnnull
?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Front: Trying to get property of non-object in Manager.php on line 244’ is closed to new replies.