Closed (fixed)
Project:
Membership types and registration modification
Version:
5.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2007 at 15:33 UTC
Updated:
4 Sep 2007 at 14:11 UTC
Comments
Comment #1
rconstantine commentedThe error implies that the second argument is not an array. This would be the case only if _nf_registration_mod_get_pageroute_pages() returns and no pageroute pages were found. I assume you are using nodeprofile content types and pageroutes per the README, aren't you?
Could you let me know what your system specs are (PHP, MySQL, Apache, etc.)?
Also, try changing the function below to read as I show here. All I added was the part that reads $pagepages = array(). This will ensure that at least an empty array is returned and the error you found should not fire. Nevertheless, it should not be returning empty. Something must not be setup correctly.
Comment #2
rconstantine commentedRelated to this: http://drupal.org/node/157997, so technically a duplicate.
I think I've made sure that all functions that should return an array at least return an empty one.
Let me know if I missed something.
Comment #3
(not verified) commented