New Beta 1 and dev releases are killing the site.
WD php: Warning: array_diff(): Argument #1 is not an array in FacesExtendable->extend() (line 222 of /var/www-sites/drupal/edg/sites/all/modules/rules/includes/faces.inc). [warning]
WD php: Warning: class_implements(): Class RulesPluginFeaturesIntegrationInterace does not exist and could not be loaded in FacesExtendable->extend() (line 226 of [warning]
/var/www-sites/drupal/edg/sites/all/modules/rules/includes/faces.inc).
PHP Fatal error: Unsupported operand types in /var/www-sites/drupal/edg/sites/all/modules/rules/includes/faces.inc on line 226
Comment | File | Size | Author |
---|---|---|---|
#15 | 1111868-14-interface-exists.patch | 592 bytes | jigarius |
| |||
#7 | rules-faces_warnings-1111868-7.patch | 649 bytes | lachezar.valchev |
|
Comments
Comment #1
lathanIs there a requirement for the face module..... ?
Comment #2
rodrigoaguileraNo one is using rules on D7?
I have the same problem, maybe it's a php 5.2 issue.
this is the line:
$this->faces += class_implements($interface);
nice work
Comment #3
klausi"RulesPluginFeaturesIntegrationInterace" exists in rules.features.inc, but is obviously not loaded on your site. Try to clear the cache or go to update.php to clear the class registry cache.
I'm part of the Rules Issue Squad, helping out in the issue queue. You can join, too!
Comment #4
klausiClosed since no further information has been provided. Reopen if still an issue.
Comment #5
lathanhere is error log... by me had to remove it.
think this is due to a migration of servers here... the path is reported incorrectly in the error... something is cached there.
Comment #6
rodrigoaguilerayou are looking for this issue
http://drupal.org/node/1257580
Comment #7
lachezar.valchev CreditAttribution: lachezar.valchev at FFW commentedI was looking for better place to post this patch and here seems like relevant place.
We have a patch that solved warnings for in faces.inc.
Comment #8
gluebox CreditAttribution: gluebox as a volunteer commentedI'm working through any needed updates to land on the latest PHP7.2. The latest rules 7.x-2.x-dev fixed a bunch of my errors however I was left with one. The patch in #7 worked to straighten this out. (Thanks lachezar.valchev !) I would bet that others will hit this issue. It'd be nice to get this committed if possible.
---
array_diff(): Argument #1 is not an array faces.inc:225 [warning]
class_implements(): Class RulesPluginFeaturesIntegrationInterface does not exist and could not be loaded faces.inc:229 [warning]
WD php: Error: Unsupported operand types in FacesExtendable->extend() (line 229 of /sites/all/modules/rules/includes/faces.inc). [error]
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Unsupported operand types in FacesExtendable->extend() (line 229 of /sites/all/modules/rules/includes/faces.inc).
Comment #9
TR CreditAttribution: TR commentedNote that the initial issue is almost 8 years old, and #2 said "maybe it's a php 5.2 issue" ...
This is unlikely to have any connection to PHP 7.2 ... The Rules automated tests work for PHP 7.2 and detect no problem - there are no known Rules issues related to PHP 7.2.
So while I have no problem committing the patch, I do insist that we identify the problem first so that we're not just hiding the real problem with an isset() - that will just cover up the problem.
To me this appears to be a situation where the core Drupal class loader is not doing the right thing. One way that can happen is when your cache or registry needs to be rebuilt. If you've done that and still have a problem, then we need to be able to reproduce the bug on a clean install. If you can provide instructions for reproducing the error on a clean site then we can reopen this and look into the problem.
Comment #10
grahamvalue CreditAttribution: grahamvalue commentedGetting the same error with the WSOD on updating to Rules 7.x-2.12.
(Not able to find 7.x-2.12 in the version drop-down for the issue)
The log entry says:
Have temporarily rolled back to Rules 7.x-2.11.
Note: The site seems to work fine after the update till the first cron run.
Comment #11
pawel_r CreditAttribution: pawel_r commented#10 Same here, going back to 2.11 + patch from #7.
Comment #12
cewernlund CreditAttribution: cewernlund commentedHey all, I'm getting the same error message with the 7x-2.12 update. Rolling back for now.
Comment #13
TR CreditAttribution: TR commented#3028130: Class [warning] RulesPluginFeaturesIntegrationInterface does not exist and could not be loaded faces.inc:233
Comment #14
idefix6 CreditAttribution: idefix6 commentedSame problem here, upgrade to 2.12 killed all hosted sites.
I downgraded now to 2.11 and applied the patch from #7 which restored everything.
While having 2.12 installed and using drush shows the following error messages:
Comment #15
jigariusI was facing the same problem and created a patch makes sure your site works so that you can clear cache and tell Drupal about the existence of the interface.
Comment #16
karolus CreditAttribution: karolus as a volunteer commentedIn updating a legacy D7 site, ran across this issue, as well. The patch in #15 by jigarius worked for me.
Comment #17
aToll CreditAttribution: aToll as a volunteer commentedAlso encountered this problem on an outdated site. The patch in #15 by jigarius helped for me. Thanks.
Comment #18
amklosePatch in #15 works for me as well - I hope it gets committed to the module soon. Thanks @jigarius!
Comment #19
crutch CreditAttribution: crutch commented+1 #15 - thanks
Comment #20
jimafisk CreditAttribution: jimafisk at Jantcu commentedPatch in #15 worked for me too.
Comment #21
TR CreditAttribution: TR commented