• Resolved teledyn

    (@teledyn)


    It may have a local cause but every time there is an update my fix keeps getting undone and this message starts filling my log files:

    AH01071: Got error 'PHP message: PHP Warning:  Undefined variable $account in /mnt/wordpress/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php on line 314; PHP message: PHP Warning:  Undefined variable $account in /mnt/wordpress/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php on line 314'

    The fix is simple, just insert isset:

    if ( isset($account) && $account instanceof Entity_Account) {
    $status->account = $account;

    I have no idea if this causes pain further down the process, I haven’t really explored the Friends plugin, and since this relates to ActivityPub, it may not even be part of Friends but a 3rd party plugin? Nonetheless, if not dangerous for other reasons, this was a simple fix to my log problem.

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