Forums
Hi Guys!
Thank you so much for sharing your experience about working with Opigno.
I am currently trying to install Opigno package but when I save the configure site settings I get this error:
"Fatal error: Call to undefined function field_attach_load() in /home/{my username}/{my website}/includes/entity.inc on line 316"
Any ideas why this may happen and how to cure this?
P.S. I did some research on Drupal.org but the patches that were suggested by Drupal community were not helpful.
Hi oks,
Hi oks,
Did you try?
https://drupal.org/files/1525176-fix_entity_conditions-D7.patch
Delete the database, create a new one and run the install again.
Best regards
In reply to Hi oks, by James Aparicio
Oh - thank you! I tried this
In reply to Oh - thank you! I tried this by friendarin
New Error :(
class DrupalDefaultEntityController implements DrupalEntityControllerInterface { // Exclude any entities loaded from cache if they don't match $conditions. // This ensures the same behavior whether loading from memory or database. if ($conditions) { foreach ($entities as $key => $entity) { $entity_values = (array) $entity; } foreach ($conditions as $condition_key => $condition_value) { if (is_array($condition_value)) { if (!isset($entity_values[$condition_key])) { unset($entities[$key]); } elseif (!in_array($entity_values[$condition_key], $condition_value)) { unset($entities[$key]); } } elseif (!isset($entity_values[$condition_key]) || $entity_values[$condition_key] != $condition_value) { unset($entities[$key]); } } } }
Many thanks for your help!Hi oks,
Hi oks,
We do not patch any of drupal core code.
Can you try raising your memory limit and the timout in your php.ini and start again from the beginning (withou the patch)? I suspect that might be the problem.
Let me know if it worked,
Best regards
In reply to Hi oks, by James Aparicio
Thank you so much - James!