• Resolved mavenlance

    (@mavenlance)


    Went to import tables today after last night’s auto update and it appears that table import is no longer functional. Used the function with 2.1 yesterday.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Same problem here.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    Here, it appears that there’s some sort of JavaScript problem on your sites (presumably caused by other plugins or your themes).

    To find out more about this, could you please check the error log console in the Developer Tools of your browsers for more details? Please see https://ww.wp.xz.cn/documentation/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis for some instructions on how to open this in common browsers.

    Regards,
    Tobias

    Here’s what I’m getting from the error log console…

    jQuery.Deferred exception: wp is not defined qode_tax_media_upload@https://ltbbodawa-nsn.gov/wp-content/themes/bridge/framework/admin/assets/js/qode-tax-custom-fields.js?ver=7c3605ac3b69b424d5f11f46b7a063ab:32:37
    @https://ltbbodawa-nsn.gov/wp-content/themes/bridge/framework/admin/assets/js/qode-tax-custom-fields.js?ver=7c3605ac3b69b424d5f11f46b7a063ab:3:30
    e@https://ltbbodawa-nsn.gov/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7c3605ac3b69b424d5f11f46b7a063ab:2:26990
    Deferred/then/l/</t<@https://ltbbodawa-nsn.gov/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7c3605ac3b69b424d5f11f46b7a063ab:2:27292
    undefined load-scripts.php:2:28610

    jQuery.Deferred exception: n is undefined ar@https://ltbbodawa-nsn.gov/wp-content/plugins/filebird-pro/assets/dist/js/app.js?ver=5.5.4:1:653525
    @https://ltbbodawa-nsn.gov/wp-content/plugins/filebird-pro/assets/dist/js/app.js?ver=5.5.4:1:707556
    e@https://ltbbodawa-nsn.gov/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7c3605ac3b69b424d5f11f46b7a063ab:2:26990
    Deferred/then/l/</t<@https://ltbbodawa-nsn.gov/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7c3605ac3b69b424d5f11f46b7a063ab:2:27292
    undefined load-scripts.php:2:28610

    Thread Starter mavenlance

    (@mavenlance)

    I’m just seeing a 500:

       GET https://www.mysupersite.com/wp-admin/admin.php?page=tablepress_import 500 (Internal Server Error)
    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi @enephler,

    great, thanks for providing these details!

    From what I can see, there are JavaScript errors being reported from the “Filebird Pro” plugin and some component of the “Bridge” theme.

    I’m not exactly sure what the exact issue is (they seem to be using some variable/function that does not exist on the page), but these errors then cause the browser to stop evaluating any further JavaScript code on the page, which means that the TablePress code is not run.

    One question here then of course is: Why are that plugin and the theme loading their JavaScript files on the admin screens of another plugin? That’s normally not necessary, unless they are directly interacting with the plugin (which I doubt in this case).

    In order for me to look into this some more, can you maybe get in touch via the email address from the bottom of https://tablepress.org/pricing/ ?

    Regards,
    Tobias

    Thread Starter mavenlance

    (@mavenlance)

    I’m getting the same failure of the UI to load on the edit screen too

    Same 500 error

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi @mavenlance,

    the “Edit” screen also uses JavaScript code, so that I assume that the same problem (JavaScript errors from other plugins) also happens there. Could you please get in touch via the email address from the bottom of https://tablepress.org/pricing/ as well? Thanks!

    Best wishes,
    Tobias

    Thread Starter mavenlance

    (@mavenlance)

    Thanks Tobias. I’ve sent an email.

    Just received this from my host

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.3.1
    Active theme: Hello Elementor (version 2.8.1)
    Current plugin: TablePress (version 2.2)
    PHP version 8.2.11

    Error Details
    =============
    An error of type E_ERROR was caused in line 108 of the file /nas/content/live/mysupersite/wp-content/plugins/tablepress/classes/class-admin-page-helper.php. Error message: Uncaught TypeError: TablePress_Admin_Page::_admin_footer_text(): Argument #1 ($content) must be of type string, null given, called in /nas/content/live/mysupersite/wp-includes/class-wp-hook.php on line 310 and defined in /nas/content/live/mysupersite/wp-content/plugins/tablepress/classes/class-admin-page-helper.php:108
    Stack trace:
    #0 /nas/content/live/mysupersite/wp-includes/class-wp-hook.php(310): TablePress_Admin_Page->_admin_footer_text(NULL)
    #1 /nas/content/live/mysupersite/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array)
    #2 /nas/content/live/mysupersite/wp-admin/admin-footer.php(48): apply_filters(‘admin_footer_te…’, ‘

    I just sent an email to you. In the meantime, can I revert back to the previous version?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi @mavenlance,

    thanks! That’s indeed the actual culprit here! I’m looking into this right now!

    @enephler: Yes, you can revert to the previous version as well, but ultimately, we should find the cause for this, see my email reply 🙂

    Regards,
    Tobias

    [02-Nov-2023 15:46:16 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to TablePress_Admin_Page::_admin_footer_text() must be of the type string, null given, called in /home/omalleyferries/public_html/wp-includes/class-wp-hook.php on line 310 and defined in /home/omalleyferries/public_html/wp-content/plugins/tablepress/classes/class-admin-page-helper.php:108
    Stack trace:
    #0 /home/omalleyferries/public_html/wp-includes/class-wp-hook.php(310): TablePress_Admin_Page->_admin_footer_text()
    #1 /home/omalleyferries/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #2 /home/omalleyferries/public_html/wp-admin/admin-footer.php(48): apply_filters()
    #3 /home/omalleyferries/public_html/wp-admin/admin.php(297): require_once('/home/omalleyfe...')
    #4 {main}
      thrown in /home/omalleyferries/public_html/wp-content/plugins/tablepress/classes/class-admin-page-helper.php on line 108
    

    I’m seeing this fatal error when I visit the import screen

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi @stupidchief,

    indeed, this is caused by a plugin conflict, as I was now already able to confirm on multiple sites.

    Can you therefore please try again after temporarily deactivating all other plugins one by one, and each time check if the issue disappears? I have now seen issues (at least) from these plugins:

    • Smash Balloon Instagram Feed
    • TeachPress
    • Kreativo Pro Speed Optimization
    • WP Custom Admin Interface
    • Cool Timeline
    • Instant Images

    Regards,
    Tobias

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    Quick update: I released TablePress 2.2.1 that should fix the problem of losing the whole table editing interface. (It will work around those bugs in the mentioned other plugins.) Ideally, these should still be fixed in those plugins.

    Best wishes,
    Tobias

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Import Broken on TablePress 2.2’ is closed to new replies.