Okay
  Public Ticket #3676082
PHP Warnings
Closed

Comments

  • Chris Brooks started the conversation

    Since June 11 -- when I believe I migrated to the latest versions of WP datatables and Master-Detail tables -- I have been getting 10's of thousands of lines of PHP warning messages in my php.log file as below. Always in pairs. sometimes 20 or 30 sets of lines per second.

    The update went fine. I have not made any changes in quite some time, and I do not notice any particular functional errors, but it is filling up my datafiles enormously.

    [11-Jun-2024 15:28:56 UTC] PHP Warning:  Undefined property: stdClass::$masterDetailSendTableType in /home/dh_5m93s2/showentries.info/wp-content/plugins/wdt-master-detail/class.masterdetail.wpdatacolumn.php on line 44
    [11-Jun-2024 15:28:56 UTC] PHP Warning:  Undefined property: stdClass::$masterDetailSender in /home/dh_5m93s2/showentries.info/wp-content/plugins/wdt-master-detail/class.masterdetail.wpdatacolumn.php on line 43

    Versions are 6.5.3 and 2.0.1

  •  1,845
    Miloš replied

    Hi Chris,

    You can always send us any PHP warnings, notices, deprecated messages, etc., and our developers will work on removing them in future versions.

     Just double-check that you have the latest version on the ChangeLog Page.

    I can see you have the latest versions now of the Main Plugin and the add-on - thank you for confirming that.

    -

    Currently, we are testing the Plugin for all these PHP Versions PHP 7.4 (7.4 is the minimum for our 6.0 wpDataTables) , 8.0, 8.1, 8.2, and I am personally testing PHP 8.3 -

    5116557857.png

    -

    We can confirm that there are no functionality issues, just some warnings like these and notices are possible to happen if you have WP DEBUG enabled.

    ( Of course, for production version of websites, the WP DEBUG should be disabled);

    Our QA Team and the developers will try to reproduce getting those warnings;

    but can you please send us screenshots or text of your System info details, which can be found on our Plugin's back-end Page, then we will pass them to our Developer Team for further isolation and a fix in future versions if we can reproduce them.

    -

    Can you please also let us know, did you notice, are those warnings happening during a specific moment, such as loading of a specific table;

    and the type of the table;

    is that table perhaps being called from a separate Database connection (SQL Query based or Manual);

    if you can provide any additional details like that, to make it easier for us to try and reproduce the same warnings, etc.


    Thank you.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    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

  • Chris Brooks replied

    Thanks for looking into this. The system info is:

    WordPress Environment
    Home URL:https://showentries.info
    Site URL:https://showentries.info
    WP Content Path:/home/dh_5m93s2/showentries.info/wp-content
    WP Path:/home/dh_5m93s2/showentries.info/
    WP Version:6.5.5
    WP Multisite:No
    PHP Memory Limit:750 MB
    WP Debug Mode:Inactive
    Language:en
    Server Environment
    Operating System:Linux
    Server Info:Apache
    PHP Version:8.2.15
    PHP Post Max Size:505 MB
    PHP Time Limit:1500
    MySQL Version:8.0.32
    Max Upload Size:500 MB
    Multibyte String:>span class=" wpdt-icon-info-circle-thin" data-toggle="tooltip" data-placement="left" title="" data-original-title="Multibyte String (mbstring) is used to convert character encoding.">
    XML extension:>span class=" wpdt-icon-info-circle-thin" data-toggle="tooltip" data-placement="left" title="" data-original-title="XML support is something that needs to be installed on the server for proper wpDataTables functionality.">
    DOM extension:>span class=" wpdt-icon-info-circle-thin" data-toggle="tooltip" data-placement="left" title="" data-original-title="DOM support is something that needs to be installed on the server for proper wpDataTables functionality.">
    Libxml extension:>span class="wpdt-icon-info-circle-thin" data-toggle="tooltip" data-placement="left" title="" data-original-title="Multibyte String (mbstring) require libxml to be installed. ">
    PDO extension: - PDO Drivers: sqlite, mysql>span class=" wpdt-icon-info-circle-thin" data-toggle="tooltip" data-placement="left" title="" data-original-title="PDO is used to connect to separate database connection like MS SQL and PostgreSQL.">
    Zip extension:>span class=" wpdt-icon-info-circle-thin" data-toggle="tooltip" data-placement="left" title="" data-original-title="ZIP support is something that needs to be installed on the server, as a package for the Linux operating system, or rather to the PHP software on the server.">
    Curl extension:>span class=" wpdt-icon-info-circle-thin" data-toggle="tooltip" data-placement="left" title="" data-original-title="wpDataTables use cURL for getting data from other servers.">
    Theme
    Name:Twenty Twelve
    Version:4.2
    Author:>td >
    Author URL:https://wordpress.org/
    Active Plugins (12)
    DreamHost Panel Loginby DreamHost, danielbachhuber – 1.0.0
    Anti-Malware Security and Brute-Force Firewallby Eli Scheetz – 4.23.67
    Easy HTTPS (SSL) Redirectionby Tips and Tricks HQ – 1.9.2
    WPCode Liteby WPCode – 2.1.14
    Maintenanceby WebFactory Ltd – 4.12
    Role Managerby Thomas Schneider – 2.2.3
    ShortCode Redirectby Cartpauj – 1.0.02
    Simple Redirectby Get on Social – 4.0.5
    UpdraftPlus - Backup/Restoreby UpdraftPlus.Com, DavidAnderson – 1.24.3
    Master-Detail Tables for wpDataTablesby TMS-Plugins – 2.0.1
    Wordfence Securityby Wordfence – 7.11.6
    wpDataTablesby TMS-Plugins – 6.5.3

    There are only two tables in use. On my home page there is a master table; the INFO button shows the details. This is essentially running all the time, all visitors would hit this page and open INFO links. (By the way, I love this capability. Makes my life so much easier and my customers can find just what they need with zero training). It is fetched from a view in a mysql database. See below for screenshots. For live view visit https://showentries.info

    5428705622.png

    INFO detail example:

    2796296692.png

    The second is an info graphic which only displays when a use clicks the link Top Breeds on the home page:

    3822572260.png


  • Chris Brooks replied

    I forgot to mention, there are other master - detail tables that give lists of dogs with details on request. These are only occasionally utilized, not nearly as often as the home page table.

    9556243191.png

    All these are simple views from a mysql database.

  •  1,845
    Miloš replied

    Hi Chris,

    Thank you for the additional details. I can see you are calling the SQL Tables from the 'browse tables' screenshot from an External Database connection ( not the same DB where your WordPress is)?

    Are all your SQL query tables being called from the same external DB, just to check?


    I will certainly pass all these details, so our QA Team and the developers will conduct tests to see if we can reproduce those PHP Warnings in order to isolate them.


    We are glad to see that you don't have any functionality issues, that is the most important point;

    but still, our developers are doing their best to 'iron out' any remaining PHP warnings during updates.


    I will let you know if they need any additional details, when we start testing and trying to reproduce this.

    For the time being, if you can keep WP_DEBUG disabled for the Live/production version of the Site, that will be best and let me know if you notice any functionality issue as well at any time.


    And we can't say an exact ETA on this process, but you can always check the patch notes on our ChangeLog Page ( it can also be found in the Plugin back-end dashboard) where we post any fixes/changes, etc.


    Thanks for reporting this and for your patience.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    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

  •  1,845
    Miloš replied


    Hi Chris,

    We have feedback from our developers.

    They will need the following access to inspect the issue remotely, if that is OK :

    Please provide me a WP-admin (administrator) user for your website where this happens;

    as well as FTP credentials and access to the remote database where your SQL Tables are being called from ( either link with credentials for PHPmyAdmin, or access to Hosting Panel),

    so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. 

    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 check PRIVATE Reply so nobody can see them except us.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    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

  • Chris Brooks replied

    Milos,

    I have been doing more checking, and at this point I suspect that the problem is not specific to WP Data Tables. It looks like the theme itself (Twenty Twelve) is missing a StdClass definition. Your plug in is doing the vast number of references, but I think the issue lies elsewhere.

    Let me continue looking (I am also trying other themes) before sending your developers on this path.

  •  1,845
    Miloš replied

    Hi Chris,

    I recall that the old Plugin versions had no issue or warnings with all the default WP Themes, but the Twenty Twelve is an old one - not sure if we tested everything with the newer wpDataTables and that specific Theme, so you might be on to a good path to isolate this.

    Let us know how it goes, if you try other Themes and if they do not have that issue etc;

    we will be on stand-by, if our developers need to look into it, let us know.

    Thank you.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    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