Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By parag23 on
I have downloaded and installed a drupal module 'silverpop-drupal' from git (https://github.com/ndewhurst/silverpop-drupal). I am facing a error in the code as below:
Fatal error: Call to undefined function db_fetch_array() in /.../.../.../.../silverpop/silverpopAPI.inc on line 338
How should I resolve the issue?
Comments
In the file 'silverpopAPI.inc
In the file 'silverpopAPI.inc', please replace 'while ($row = db_fetch_array($result)) {' with 'foreach ($result as $row) {'.
Thank You,
Shashwat Purav
It worked.
It worked.
It looks like that module is
It looks like that module is not ready for D7 use yet.
Okay, I have been testing
Okay, I have been testing this module on one of my sites and facing some sort of difficulties. Could you please suggest alternative for silverpop integration?
Thank You,
Shashwat Purav
_
really?
Okay. Thank you WorldFallz. I
Okay. Thank you WorldFallz. I will surely give it a try.
Thank You,
Shashwat Purav