Okay
  Public Ticket #3445121
Warning: WDTGravityIntegration
Closed

Comments

  •  2
    tnconnect started the conversation

    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


  •  1,846
    Miloš replied

    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 :

    return $body && isset($body->info) ? unserialize($body->info, ["allowed_classes" => false]) : false;
    
    5581664618.png

    replace it with this :

    return $body && isset($body->info) ? unserialize($body->info, ["allowed_classes" => [stdClass::class]]) : false;
    
    8239343457.png

    and this should remove the PHP warnings.

    1498081130.png

    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

    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 | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •  2
    tnconnect replied

    That worked.  Thank you so much.

  •   Miloš replied privately