$this->items = $this->get_table_data();
If this line is triggering the error, then the reason is probably that items
should be an array of arrays, not an array of stdClass objects. But you don’t need to change much, as get_results()
does support returning arrays instead of objects (which is the default).
Instead of
$get_bl_list = $wpdb->get_results("SELECT * from {$table} where bl_is_active=1",);
do
$get_bl_list = $wpdb->get_results("SELECT * from {$table} where bl_is_active=1", ARRAY_A);
Related Posts:
- WP_Terms_List_Table Quick Edit not working
- Re use the list table for a custom post type on another page
- specific rows style for in custom list table using WP_List_Table
- Display_rows() and column_cb() strange behaviour
- What’s the preferred method of writing AJAX-enabled plugins?
- How to add a shortcode button to the TinyMCE editor?
- Redesigning Custom Post Type “Add New” page
- Plugin upgrading: Widget settings
- Is there any record of installed plugins in the database?
- Using require_once in a Plugin?
- How to call “page specific menu items” in template [closed]
- Custom headers for the WordPress plugin directory
- plugin wants to update to wrong plugin
- How can I add a custom header to a custom template in a plugin without using the theme folders
- Trying to avoid including wp-load.php
- AJAX Call Via Vanilla JavaScript In WordPress Plugin Development
- Understanding apply_filters
- Editor not displaying dynamically after clicking on the button
- Custom values are not translated
- Make the plugin directory recognize new version numbers
- Master menu item for multiple plugins?
- Where do I add a new table’s name in wpdb?
- How to create popup same as wordpress popup feature
- How to submit documentation with plugin
- How to customize user search
- Upgrade Private Plugin without Deleting
- Placement of Code in Plugin for hooking `save_post`
- How to make first_name and last_name required fields in user profile?
- Making my plugin translation ready. Poedit not working
- Avoiding Duplicate function names in Post Loop (WP_Footer script)
- Can we use a webservice with WordPress?
- WooCommerce get_price returning wrong price when used via ajax
- Open Post Thumbnail in New Child Theme File in WordPress
- New User Form – Custom Menu Page
- Checking instances of scripts in wp_head
- Creating a plugin to sanitize comment and the url field before display only
- Creating mySQL procedure with $wpdb
- How can I prevent my plugin go development trunk [closed]
- Best way to maintain and update 3rd-party WP plugin when developer is unresponsive?
- Are functions in main plugin file called before function bound to register_activation_hook runs?
- Best place for if/else piece of code related to custom plugin?
- How do you assign a UUID to posts/products/comments/reviews?
- How to make a implement queue for scheduling tasks in WordPress?
- how to do login using woocommerce rest api From android
- How to create a code editor for my plugin .?
- Editable form for WordPress plugin options page
- Manually set a custom admin sub-menu selected?
- wp-pagenavi getting 404 page not found
- remove add new post, if there is already one post
- How to test ‘upgrader_process_complete’ hook in plugin development?
- Plugin Not Working After Being Uploaded To WordPress Plugin Repository
- Difference and examples of esc_attr__() and esc_attr_e()
- Change the display of Settings API (do_settings_sections)
- Issue running db create table query from static method
- How to make custom plugin run on demand?
- WooCommerce – set session with new cart item meta when updating cart item quantity [closed]
- Using WordPress to build membership Page
- Set WordPress Transient Expiration via Variable Value
- Sanitizing file & directory form input
- Override plugin class which has namespace
- Plugin create pages and use templates
- Custom CSS not being added by plugin
- Quick press publish post hook
- How to display results from a data table with an encrypted user id?
- How do i specify a url to which to redirect the user after he logs out from facebook?
- I cannot include a file in my plugin settings page
- How to Add text value in Automatically in this conditions?
- Translation for a text that is not printed on the screen
- Two plugins using the same CSS id
- Activation flow of a plugin in a multisite environment
- Checkbox show / hide output result
- How to show multi line output from metabox
- How to keep plugin (media-sync) running even the tab is closed?
- force logged in user to stay in the dashboard
- Visual composer custom element error
- Critical Error message of WordPress adming
- Clicking custom plugin admin menu redirects to “No Update Required” on live site
- Create new page in wordpress plugin which doesn’t exist
- Use WordPress Plugin without WP head
- The plugin generated 227 characters of unexpected output during activation. If you notice “headers already sent” messages
- How to call a function from class in wp table list button form
- 500 Internal server error wp_handle_upload_prefilter
- when i activate my WordPress plugin cannot see customizer options or preview
- Installation failed, trying to install ANY plugin
- WordPress the_content Filter and GET Parameter
- Overwrite js code using WP_Footer
- How to access classes in theme of a plugin?
- Protect WordPress option value
- Help Code Review – I need to write on .htaccess file from theme’s function.php
- How to limit each front-end user to view just his own uploaded files on Amazon S3?
- How do i get all author posts on custom post type list
- Need to hide an element depending on date and post category
- How to add a handler for a button in plugin?
- Submit form stored in one plugin from another plugin?
- Using Taxonomies with Vote It Up plugin chart [closed]
- wordpress last all added get meta value by post id
- How to Replicate Elementor Licensing Model
- How do I save meta key value in the save function?
- Submitting form to admin-post.php WordPress
- WordPress Throwing Deprecated Errors on its own Files