When I go to /admin/reports/status I get the following error.

Fatal error: Cannot redeclare class facebook in /home/XXXX/public_html/sites/all/libraries/OpenInviter/plugins/facebook.plg.php on line 258

What is causing this or what's the fix?

Thanks,
Andre

Comments

asilva1312’s picture

Deleting the facebook.plg.php file in sites/all/libraries/OpenInviter/plugins that wasn't being used by OpenInviter fixed the problem.

asilva1312’s picture

Status: Active » Fixed

Deleting the facebook.plg.php file in sites/all/libraries/OpenInviter/plugins that wasn't being used by OpenInviter fixed the problem.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kevinquillen’s picture

Is this a namespace issue? Deleting the file from the OpenInviter library does not seem like a fix to me. There are people that use DFF and OpenInviter at the same time.

kevinquillen’s picture

Note, this seems to stem from the inclusion of the Facebook SDK. Both libraries declare a facebook class.

This should probably be reported to the OpenInviter staff.