[wp-trac] [WordPress Trac] #48664: Fatal error: Uncaught Error: Call to undefined method stdClass::get_results()

WordPress Trac noreply at wordpress.org
Sat Nov 16 11:51:13 UTC 2019


#48664: Fatal error: Uncaught Error: Call to undefined method
stdClass::get_results()
----------------------------+----------------------
 Reporter:  noshairwankhan  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Database        |     Version:
 Severity:  normal          |  Resolution:  invalid
 Keywords:                  |     Focuses:
----------------------------+----------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => invalid
 * component:  General => Database
 * milestone:  Awaiting Review =>


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the ticket.

 The error message means that the `$wpdb` global is not set up properly in
 your AJAX request.

 Please note that this Trac is used for enhancements and bug reporting for
 the WordPress core software, not for individual support questions. Please
 try the support forums to get help with your site:
 https://wordpress.org/support/forums/.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48664#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list