Error messages with some shortcodes
-
We’re trying to get the [connections list_type=’family’] shortcode to work but it keeps throwing up these errors:
Warning: Invalid argument supplied for foreach() in /home/pmhoa/public_html/wp-content/plugins/connections/templates/members/template.php on line 97
Warning: Invalid argument supplied for foreach() in /home/pmhoa/public_html/wp-content/plugins/connections/templates/members/template.php on line 139
I’ve tried uninstalling, deleting all connections database tables and reinstalling. I tried deactivating all plugins.
I tried uncommenting line 51
//$member_popup_info = ‘<div id=”popup-group-name”><span>’ . $entry->getFamilyName() . ‘</span></div>’;
but then it kicked up some new error messages:
Warning: Invalid argument supplied for foreach() in /home/pmhoa/public_html/wp-content/plugins/connections/templates/members/template.php on line 97
Warning: Invalid argument supplied for foreach() in /home/pmhoa/public_html/wp-content/plugins/connections/templates/members/template.php on line 139
This is odd since I tested it on another of my sites with the same host and it worked (except the family line had no link to a pop-up).
Thanks for any help! We hope we can get this working since it seems the best out there and just what we need.
- The topic ‘Error messages with some shortcodes’ is closed to new replies.