gzhmr

Unregistered less info
29 reputation
4
bio website
location
age
visits member for 1 year, 9 months
seen Dec 20 '12 at 2:34

May
4
awarded  Popular Question
Dec
16
asked Customizing gallery shortcode in 3.5
Oct
14
awarded  Scholar
Oct
14
comment $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
That last solution did the trick. Many thanks for your help and time with this Manny.
Oct
14
accepted $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
Oct
14
comment $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
It returns false with the 'if' statement with the post variables that you amended. For the REQUEST post, that should be the 'name' attribute of the anchor that was clicked on the admin page, correct?
Oct
14
comment $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
I have an anchor link on the plugin admin settings page (gallery-admin.php) that links to delete-gallery.php (the one that you amended above) which does nothing except calls the delete function in 'ga-functions.php' and returns back to the admin page after the db had been updated
Oct
14
comment $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
it's in a plugin file.
Oct
14
comment $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
Thanks again. I've tried that using the 'wp-load.php' but when I do it thows the errors/warnings: Use of undefined constant ABSPATH - assumed 'ABSPATH' in C:\xampp\htdocs\wordpress\wp-content\plugins\gallery-admin\includes\delete-galle‌​ry.php on line 3 .....AND..... Fatal error: require_once() [function.require]: Failed opening required 'ABSPATHwp-load.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\wordpress\wp-content\plugins\gallery-admin\includes\delete-galle‌​ry.php on line 3
Oct
14
comment $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
Thanks for your replay Manny. After adding in the hook I'm getting the error: Call to undefined function add_action()... from the delete-gallery.php file
Oct
14
awarded  Editor
Oct
14
revised $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
added 419 characters in body
Oct
14
asked $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
Oct
13
answered plugin links not working
Oct
13
comment plugin links not working
Wow! That was it. I must have overlooked that a hundred times looking over the code. Thanks for your help Amit...
Oct
13
awarded  Student
Oct
13
asked plugin links not working