I am getting this error when I try to save a table configuration after making a small change to the SQL query.
There was an error while trying to save the table!OK
( ! ) Warning: Undefined property: stdClass::$showCartInformation in /Users/wendyemerson/Local Sites/ultracyclingcom/app/public/wp-content/plugins/wpdatatables/source/class.wdtconfigcontroller.php on line 568
First, we will cover the warning error you encountered regarding the $showCartInformation variable not being defined.
Could you please confirm if you have the latest plugin version (7.1.1) installed? If not, please update to the latest version and then purge your site's cache.
If you already have the latest version, it's possible that, during the update, the plugin wasn't able to write all the necessary files to your FTP. Although rare, this can happen due to permission issues on the hosting server or other factors.
Here's what you can try:
Deactivate and then re-activate the plugin to ensure it properly "picks up" all the files in your WordPress installation.
Purge the cache on your site and in your browser.
Restart your browser and let me know if this helps remove the warning error.
If the error still persists, we will escalate this to our QA Team. I see that you have a Basic (Standard) license, which doesn't include WooCommerce integration, so there is no cart functionality. We'll focus on reproducing the error under these conditions.
Please note : PHP warning/or notice is not a functionality issue, so you can check if you have the WP_DEBUG enabled on your Hosting server. For a live/production Site version, this should be disabled, so then you should not see the warning anymore.
2. Regarding your SQL query table and the main error:
Could you please create a new table with the same query? Does it throw the same error, or does the error only occur when modifying an existing query table?
Additionally, could you provide more details? The best option would be to record a video showing the original query/table and the changes you make when the error occurs.
You can also send screenshots, and if possible, attach the original and modified queries in a TXT file (if that doesn't work, you can zip the files or upload them to WeTransfer).
If the video or query contains sensitive data, please make sure to send it in a private reply for security.
Hi,
I am getting this error when I try to save a table configuration after making a small change to the SQL query.
There was an error while trying to save the table!OK
Hi Wendy,
Could you please confirm if you have the latest plugin version (7.1.1) installed?
If not, please update to the latest version and then purge your site's cache.
If you already have the latest version, it's possible that, during the update, the plugin wasn't able to write all the necessary files to your FTP. Although rare, this can happen due to permission issues on the hosting server or other factors.
Here's what you can try:
If the error still persists, we will escalate this to our QA Team. I see that you have a Basic (Standard) license, which doesn't include WooCommerce integration, so there is no cart functionality. We'll focus on reproducing the error under these conditions.
Please note : PHP warning/or notice is not a functionality issue, so you can check if you have the WP_DEBUG enabled on your Hosting server.
For a live/production Site version, this should be disabled, so then you should not see the warning anymore.
2. Regarding your SQL query table and the main error:
Could you please create a new table with the same query? Does it throw the same error, or does the error only occur when modifying an existing query table?
Additionally, could you provide more details? The best option would be to record a video showing the original query/table and the changes you make when the error occurs.
You can also send screenshots, and if possible, attach the original and modified queries in a TXT file (if that doesn't work, you can zip the files or upload them to WeTransfer).
If the video or query contains sensitive data, please make sure to send it in a private reply for security.
Thank you.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables