#79 PHP Fatal error: Uncaught Error: Call to a member function read() on bool in /var/www/html/lib/profile/nickname.php:199

Closed
opened 4 years ago by aab · 1 comments
aab commented 4 years ago

This happens when launching update-profile-data.php, or test-feed.php:

PHP Fatal error:  Uncaught Error: Call to a member function read() on bool in /var/www/html/lib/profile/nickname.php:199

Stack trace:

#0 /var/www/html/lib/profile/nickname.php(148): Nickname::isSystemPath('ai')

#1 /var/www/html/lib/util/util.php(2581): Nickname::normalize('ai')

#2 /var/www/html/plugins/OStatus/classes/Ostatus_profile.php(1500): common_nicknamize('ai')

#3 /var/www/html/plugins/OStatus/classes/Ostatus_profile.php(1330): Ostatus_profile::getActivityObjectNickname(Object(ActivityObject), Array)

#4 /var/www/html/plugins/OStatus/classes/Ostatus_profile.php(1307): Ostatus_profile::updateProfile(Object(Profile), Object(ActivityObject), Array)

#5 /var/www/html/plugins/OStatus/classes/Ostatus_profile.php(1837): Ostatus_profile->updateFromActivityObject(Object(ActivityObject))

#6 /var/www/html/plugins/OStatus/OStatusPlugin.php(1615): Ostatus_profile->checkAuthorship(Object(Activity))

#7 /var/www/html/lib/util/event.php(89): OStatusPlugin->onCheckActivityAuthorship(Object(Activity), Object(Profile))

#8 /var/www/html/lib/a in /var/www/html/lib/profile/nickname.php on line 199
This happens when launching update-profile-data.php, or test-feed.php: ``` PHP Fatal error: Uncaught Error: Call to a member function read() on bool in /var/www/html/lib/profile/nickname.php:199 Stack trace: #0 /var/www/html/lib/profile/nickname.php(148): Nickname::isSystemPath('ai') #1 /var/www/html/lib/util/util.php(2581): Nickname::normalize('ai') #2 /var/www/html/plugins/OStatus/classes/Ostatus_profile.php(1500): common_nicknamize('ai') #3 /var/www/html/plugins/OStatus/classes/Ostatus_profile.php(1330): Ostatus_profile::getActivityObjectNickname(Object(ActivityObject), Array) #4 /var/www/html/plugins/OStatus/classes/Ostatus_profile.php(1307): Ostatus_profile::updateProfile(Object(Profile), Object(ActivityObject), Array) #5 /var/www/html/plugins/OStatus/classes/Ostatus_profile.php(1837): Ostatus_profile->updateFromActivityObject(Object(ActivityObject)) #6 /var/www/html/plugins/OStatus/OStatusPlugin.php(1615): Ostatus_profile->checkAuthorship(Object(Activity)) #7 /var/www/html/lib/util/event.php(89): OStatusPlugin->onCheckActivityAuthorship(Object(Activity), Object(Profile)) #8 /var/www/html/lib/a in /var/www/html/lib/profile/nickname.php on line 199 ```
XRevan86 commented 4 years ago
Collaborator

Should be fixed by ad91ef66bd.

Should be fixed by ad91ef66bd895227de7ae5fc16611f3cdd961045.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.