json_decode() error
-
Hi!
i hope someone will be able to help me.
I created a simple table with your plugin, and implemented the shortcode into a page. Now I’m trying to edit that page and it throws me this error :Warning: json_decode() expects parameter 1 to be string, object given in /home/clients/b4e9a747f990ccf19cf7d357ee13a8e0/webpreview/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php on line 326
Fatal error: Uncaught TypeError: Argument 1 passed to WPDataTableRows::setColHeaders() must be of the type array, null given, called in /home/clients/b4e9a747f990ccf19cf7d357ee13a8e0/webpreview/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php on line 30 and defined in /home/clients/b4e9a747f990ccf19cf7d357ee13a8e0/webpreview/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php:92 Stack trace: #0 /home/clients/b4e9a747f990ccf19cf7d357ee13a8e0/webpreview/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php(30): WPDataTableRows->setColHeaders(NULL) #1 /home/clients/b4e9a747f990ccf19cf7d357ee13a8e0/webpreview/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php(334): WPDataTableRows->__construct(Object(stdClass)) #2 /home/clients/b4e9a747f990ccf19cf7d357ee13a8e0/webpreview/wp-content/plugins/wpdatatables/controllers/wdt_functions.php(520): WPDataTableRows::loadWpDataTableRows(‘3’) #3 /home/clients/b4e9a747f990ccf19cf7d357ee13a8e0/webpreview/wp-includes/shortcodes.php(343): w in /home/clients/b4e9a747f990ccf19cf7d357ee13a8e0/webpreview/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php on line 92
What is happening here?
Thank you for your help!
The topic ‘json_decode() error’ is closed to new replies.