Incorrect variable typing and function incompatibility for FacebookPost class

Created on 18 April 2025, 8 days ago

Problem/Motivation

The FacebookPost class has some incorrect variable typing and compatibility issues with the create function of NetworkBase in socialapi.

PHP Fatal error:  Type of Drupal\social_post_facebook\Plugin\Network\FacebookPost::$loggerFactory must be Drupal\Core\Logger\LoggerChannelFactoryInterface (as in class Drupal\social_api\Plugin\NetworkBase) in /home/members/portside/sites/new.portside.org/web/web/modules/contrib/social_post_facebook/src/Plugin/Network/FacebookPost.php on line 32
 [warning] Drush command terminated abnormally.

Proposed resolution

This file could probably use a review and cleanup.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024