I have recently upgraded Gravity Forms integration for wpDataTables to version 1.7.2 and now warnings are occurring. Installed are: Gravity Forms (2.7.13) wpDataTables (5.8.1) GravityView (2.18.3)
The warnings are:
Warning: WDTGravityIntegrationPlugin::wdtCheckUpdateGravity(): The script tried to access a property on an incomplete object. Please ensure that the class definition "stdClass" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in wp-contentpluginswdt-gravity-integrationwdt-gravity-integration.php on line 1557
Warning: wdtCheckUpdate(): The script tried to access a property on an incomplete object. Please ensure that the class definition "stdClass" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in wp-contentpluginswpdatatablescontrollerswdt_functions.php on line 1647
Warning: WDTGravityIntegrationPlugin::wdtCheckUpdateGravity(): The script tried to access a property on an incomplete object. Please ensure that the class definition "stdClass" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in wp-contentpluginswdt-gravity-integrationwdt-gravity-integration.php on line 1557
Warning: wdtCheckUpdate(): The script tried to access a property on an incomplete object. Please ensure that the class definition "stdClass" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in wp-contentpluginswpdatatablescontrollerswdt_functions.php on line 1647
Our developers are aware of this PHP warning and they made a fix.
Our QA Team is just conducting further testing to ensure that the fix does not have any other negative effects before our devs implement this in the Plugin's core.
It should be added within the next couple of Updates,
but we cant guarantee an exact ETA yet.
Best will be to keep a lookout on our wpDataTables changeLog.
It will be stated there during updates which bug fixes have been implemented at each update.
-
For the time being, here is what you can do to fix this.
Please find this PHP file inside our plugin files,
you can access it via FTP on your Hosting server, or via the Hosting's File Manager, in this path :
And just to note, if our developers don't add the final version of this fix in the next Update,
you would have to repeat this code edit again when you update the Plugin.
Let us know if you have any questions, we will be here if any assistance is needed.
If you need us to edit this code for you,
we will need access to your WP-Admin, please send me URL with Admin credentials,
and FTP credentials.
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here, just make sure to mark as PRIVATE reply, for security reasons,
I have recently upgraded Gravity Forms integration for wpDataTables to version 1.7.2 and now warnings are occurring. Installed are:
Gravity Forms (2.7.13)
wpDataTables (5.8.1)
GravityView (2.18.3)
The warnings are:
Warning: WDTGravityIntegrationPlugin::wdtCheckUpdateGravity(): The script tried to access a property on an incomplete object. Please ensure that the class definition "stdClass" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in wp-contentpluginswdt-gravity-integrationwdt-gravity-integration.php on line 1557
Warning: wdtCheckUpdate(): The script tried to access a property on an incomplete object. Please ensure that the class definition "stdClass" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in wp-contentpluginswpdatatablescontrollerswdt_functions.php on line 1647
Warning: WDTGravityIntegrationPlugin::wdtCheckUpdateGravity(): The script tried to access a property on an incomplete object. Please ensure that the class definition "stdClass" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in wp-contentpluginswdt-gravity-integrationwdt-gravity-integration.php on line 1557
Warning: wdtCheckUpdate(): The script tried to access a property on an incomplete object. Please ensure that the class definition "stdClass" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in wp-contentpluginswpdatatablescontrollerswdt_functions.php on line 1647
Any help would be appreciated. Thanks
Hi tnconnect,
we apologise for this inconvenience.
Our developers are aware of this PHP warning and they made a fix.
Our QA Team is just conducting further testing to ensure that the fix does not have any other negative effects before our devs implement this in the Plugin's core.
It should be added within the next couple of Updates,
but we cant guarantee an exact ETA yet.
Best will be to keep a lookout on our wpDataTables changeLog.
It will be stated there during updates which bug fixes have been implemented at each update.
-
For the time being, here is what you can do to fix this.
Please find this PHP file inside our plugin files,
you can access it via FTP on your Hosting server, or via the Hosting's File Manager, in this path :
..\wp-content\plugins\wpdatatables\source\class.wdttools.php
on line 1357 find this :
replace it with this :
and this should remove the PHP warnings.
Let us know how it goes.
And just to note, if our developers don't add the final version of this fix in the next Update,
you would have to repeat this code edit again when you update the Plugin.
Let us know if you have any questions, we will be here if any assistance is needed.
If you need us to edit this code for you,
we will need access to your WP-Admin, please send me URL with Admin credentials,
and FTP credentials.
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here, just make sure to mark as PRIVATE reply, for security reasons,
that way nobody can see them except us.
Thank you.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
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
That worked. Thank you so much.