Okay
  Public Ticket #3563932
plugin creates a fatal error and will not upload
Closed

Comments

  • Margaret Yarbrough started the conversation

    Hello, 

    I was updating my wpdata tables plugins, and for sure, the wpdatatables basic plugin is creating a fatal error and will not upload. How can this be fixed? 

    Sincerely, 

    Margaret

  • Margaret Yarbrough replied

    It looks like it was a Royal Elementor Addon which was causing the fatal error. I'm not sure why, but I deactivated it until I can figure out why. 

  •  1,689
    Miloš replied

    Hi Margaret,

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    The best way we can determine the root of the fatal error, will be if you can get the full WP_DEBUG error report from the approximate time when the error happened, from your Hosting support?

    They should have the error log reports, so if you can send that to us, our developers can inspect which error happened in that time, to see if we can shed more light to a possible conflict.


    Let us know if you get the error report from Hosting.


    In the meantime, you can make a Staging Site for safe troubleshooting, if this is your Live/production Site.

    Then, on Staging, you can try to reproduce the issue, i am sending you the previous Plugin Version - you could revert the Plugin to 6.0 -  then try to update again to 6.1 via file upload and see if you reproduce the error;

    If that happens, and if you were unable to get that 'previous time of error' Full Debug Report;

    Your Hosting Support should then be able to get this 'new error' report, and you can send it to us, so we can inspect it.

    In most cases, that error text can point to the root cause, if it is caused by a conflict with another Plugin, as you said, perhaps from the Royal Elementor Addon.

    We do not have this Add-on, so we are unable to test it;

    but let me know how it goes, if you can get the error report and we will see about next steps.

    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

  •   Miloš replied privately
  •  1,689
    Miloš replied

    Hi Margaret,

    I just wanted to advise, if you have not tried this already, to do a manual way via FTP of updating our Plugin, instead of uploading the File through WordPress with "Add new Plugin".


    I will write the steps you can do if you wish to do this :

    First we recommend to make sure that you have this disabled in the wpDataTables Settings/Main settings/Prevent deleting tables in database.

    9817449621.png

    This is going to keep all your tables and Plugin settings safely stored in the Database, even if you completely delete the Plugin from WordPress.


    After that,

    - Use FTP ( or your Hosting File Manager) to open ../yourwordpressfolder/wp-content/plugins

    - Delete the existing plugin folder "wpdatatables"

    8781202668.png

    - Open the zipped file of the wpDataTables installation you previously downloaded, and extract the "wpdatatables" folder you see in the zip file into the Plugins path in :

     ../wp-content/plugins/     

    -Go to the WP-admin panel and open the Plugins section

    1. Deactivate the plugin, and then activate it again
    2. Clear server and browser cache


    Let us know if that helps.

    If you can still see any critical error, please see if you can get a full WP_DEBUG error report from the Hosting Provider Support, then we will check with our developers to read the error/ and shed more light if there is a conflict on the Site.

    We will certainly be here to follow up.

    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

  •  1,689
    Miloš replied

    Hi Margaret,

    We found another User who has a potential conflict only for 6.1 wpDataTables with the Royal Elementor Addons, so you might be on to something here.

    We certainly need to investigate it with our developers.

    Could you please send us a cloned version of your website so that our developers can install it in their test environment and work to isolate the issue?

    If yes - I'll ask you to install the All-in-One WP Migration plugin.

    It will generate a duplicate copy of the site that you can send me (along with an Administrator user log-in credentials), 

    and then I can create an exact copy of your website, see what the issue is and try to resolve it.

    Please note that the files will be too large to attach to the ticket, so you can upload them via something like 'wetransfer.com' or 'Google Drive' for example and send me the download link.


    If you send it, just make sure to mark the reply as PRIVATE, for security reasons, then only we can see it.


    If you can additionally send us the full error report from Hosting, when a critical error happens, that can help - but a Cloned Site can also allow us to fully test the conflict on our end.

    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

  •  1,689
    Miloš replied

    Hi Margaret,

    I am happy to report, with the help of our Developers, we were able to reproduce this conflict with the Royal Elementor Addons/ critical error on our Test Site, and we have a workaround fix solution.

    You can try this on your end first, and if it does not work, we can do it for you again remotely.

    Find this PHP file of our Plugin, in the path :

    ..wp-content/plugins/wpdatatables/controllers/wdt_functions.php

    around line 605, find this :

    function is_plugin_installed($plugin_path) {

    Change it to  :

    function wdt_is_plugin_installed($plugin_path) {

    Then, in the same file, around another line 633, find  :

    if(is_plugin_installed($plugin)){

    Change that to :

    if(wdt_is_plugin_installed($plugin)){

    Finally, find this around line 643 :

    if(!is_plugin_installed("ameliabooking/ameliabooking.php"))

    Change it to :

    if(!wdt_is_plugin_installed("ameliabooking/ameliabooking.php"))

    The issue is that this Plugin is calling the same two 'methods' for "is_plugin_installed", which is creating the conflict.

    If it does not work from your end when you edit it, we can remotely edit the code for you and make sure it is fixed.

    For that, we would need access.

    If that is needed, please send us URL to your WP-Admin back-end, along with Administrator username and password,  and send us FTP Credentials or access to the Hosting Panel/ to reach the File Manager.

    If you send access, just make sure to send it in a PRIVATE reply, for security reasons, then only we can see it.


    Let us know if it works or if you need us to remote in.

    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