Database list
-
Hi,
I’m trying to list a set of members from a database in which i’ve loaded using this plugin. Some how the list display is not showing the members.
You may see it here:
Any reason this is happening?
Thank you!
-
I suggest you go through the steps on the “Setup Guide” and make sure you have everything set to display correctly.
It looks like you have the shortcode in your page twice, you only need to put it in there once.
Thank you for your response. I’ve tried that. The reason I had two different short codes posted on the profile page was for testing purposes. In the help document it provides it states to use the shortcode on the desired page and to set the # for the display settings. I still do not see the list of members. Any further suggestions?
Thanks again!
OK, what is in the shortcode you are using?
I’m using this one:
[pdb_list search=true sort=true display_count=true template=detailed list_limit=20]
I was using [pdb_list] alone to test, then added the numbers to the display settings. nothing is showing.
OK, well I suggest you have a look at the PHP error log after loading the page and see if there is something preventing the field values from getting displayed. I haven’t ever seen this before, so I have no clue as to what the issue is.
Are you using an edited template?
Here is the error:
Fatal error: Call to a member function get() on a non-object in /home/./public_html/./wp-includes/query.php on line 27
Edited as in customized? No, this a straight from the box theme.
Thanks for your help
OK, well that is a problem, but it’s not clear to me how it’s connected to the plugin. Does this error only appear when a page with the plugin shortcode is loaded?
Yes, it appears that way.
OK, I haven’t been able to trace this to the plugin. What is happening is some script on your site is calling the WP function
get_query_var($var)
before the WP_Query object has been set up. I would guess another plugin. My plugin doesn’t use this function.The first thing to do is disable all other plugins temporarily and see if that solves the issue.
- The topic ‘Database list’ is closed to new replies.