Mikepo Posted November 26, 2015 Share Posted November 26, 2015 Hi installing 2.3.4 BS edge, having just added the paypal app and the recapcha addon from @@burt for the contact_us page, I'm now seeing this: Invalid argument supplied for foreach() in hooks.php on line 56 at the top of every page. I don't understand hooks yet, but can anyone advise? Mike osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!) Link to comment Share on other sites More sharing options...
burt Posted November 26, 2015 Share Posted November 26, 2015 includes/classes/hooks.php Ensure L56 is: foreach ( (array)$this->_hooks[$this->_site][$group][$action] as $hook ) { Likely you are missing the (array) Link to comment Share on other sites More sharing options...
Mikepo Posted November 26, 2015 Author Share Posted November 26, 2015 @@burt thanks, the hooks.php file came from the paypal app addon, which obviously doesn't have (array) in L56 working ok now Thanks again Mike osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.