hello, great module and very good video tutorial.

Works fine for me, but I get an error :

Strict warning : Declaration of FBAutopostEntity::publish() should be compatible with FBAutopost::publish($publication, string $page_id = NULL) in require_once() (ligne 11 in ***/sites/all/modules/fb_autopost/fb_autopost_entity/class/FBAutopostEntity.php).

Strict warning : Declaration of FBAutopostEntity::remoteDelete() should be compatible with FBAutopost::remoteDelete($publication_id) in require_once() (ligne 11 in***/sites/all/modules/fb_autopost/fb_autopost_entity/class/FBAutopostEntity.php).

Strict warning : Declaration of FBAutopostEntity::remoteEdit() should be compatible with FBAutopost::remoteEdit($publication, $publication_id) in require_once() (ligne 11 in ***/sites/all/modules/fb_autopost/fb_autopost_entity/class/FBAutopostEntity.php).

Tested with both dev and beta versions. (i have apply patch #1 for beta version http://drupal.org/node/1920232 )

I have configure like the video tutorial for publish comment to facebook page.

Someone an idea ? thank

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

patrickroma’s picture

Same here... with php 5.4 and the current release beta1.

BTW: This module is really awesome!

e0ipso’s picture

This patch whould address this. It is also pushed to dev version.

BTW: This module is really awesome!

Thanks for your nice words!

patrickroma’s picture

Hmmm... this makes the this error go away:
Strict warning : Declaration of FBAutopostEntity::publish() should be compatible with FBAutopost::publish($publication, string $page_id = NULL) in require_once() (ligne 11 in ***/sites/all/modules/fb_autopost/fb_autopost_entity/class/FBAutopostEntity.php).

But these 2 still remain:

Strict warning : Declaration of FBAutopostEntity::remoteDelete() should be compatible with FBAutopost::remoteDelete($publication_id) in require_once() (ligne 11 in***/sites/all/modules/fb_autopost/fb_autopost_entity/class/FBAutopostEntity.php).

Strict warning : Declaration of FBAutopostEntity::remoteEdit() should be compatible with FBAutopost::remoteEdit($publication, $publication_id) in require_once() (ligne 11 in ***/sites/all/modules/fb_autopost/fb_autopost_entity/class/FBAutopostEntity.php).

Seems also to break publishing functionality...

terwilliger’s picture

Thank, for your answers, but it seems there is a bug in the Patch:

public function publish(FacebookPublicationEntity $publication, string $page_id = NULL)) {

Perhaps the double parentheses ? I modified the patch like this :

public function publish(FacebookPublicationEntity $publication, string $page_id = NULL) {

But the three error remains the same :

Strict warning : Declaration of FBAutopostEntity::publish() should be compatible with FBAutopost::publish($publication, string $page_id = NULL) dans require_once() (ligne 11 dans ***/sites/all/modules/fb_autopost/fb_autopost_entity/class/FBAutopostEntity.php).

Strict warning : Declaration of FBAutopostEntity::remoteDelete() should be compatible with FBAutopost::remoteDelete($publication_id) dans require_once() (ligne 11 dans ***/sites/all/modules/fb_autopost/fb_autopost_entity/class/FBAutopostEntity.php).

Strict warning : Declaration of FBAutopostEntity::remoteEdit() should be compatible with FBAutopost::remoteEdit($publication, $publication_id) dans require_once() (ligne 11 dans ***/sites/all/modules/fb_autopost/fb_autopost_entity/class/FBAutopostEntity.php).

Tested with both dev and beta versions. (i have apply patch #1 for beta version http://drupal.org/node/1920232 )

Do you need more information on configuring drupal or server?
Thank you for your help

e0ipso’s picture

Status: Active » Needs review
FileSize
4.22 KB

Pleas test this patch and set RTBC or Needs work

terwilliger’s picture

thank , I'll test it this week !!

SocialNicheGuru’s picture

no longer applies to the dec 24 dev version