• Resolved realm174

    (@realm174)


    Good day,
    Today, I received an automated email from WordPress indicating WP had caught a fatal error caused by TablePress.

    Here is the information from the email:

    WordPress version 5.3.2
    Current theme: EduPress (version 1.4.1)
    Current plugin: TablePress (version 1.10) PHP version 7.3.11-0ubuntu0.19.10.1

    Error Details
    =============
    An error of type E_ERROR was caused in line 489 of the file /home/intranet/ftp/www/wordpress/wp-content/plugins/tablepress/libraries/simplexlsx.class.php. Error message: Uncaught Error: Call to undefined function simplexml_load_string() in /home/intranet/ftp/www/wordpress/wp-content/plugins/tablepress/libraries/simplexlsx.class.php:489
    Stack trace:
    #0 /home/intranet/ftp/www/wordpress/wp-content/plugins/tablepress/libraries/simplexlsx.class.php(365): SimpleXLSX->getEntryXML(‘_rels/.rels’)
    #1 /home/intranet/ftp/www/wordpress/wp-content/plugins/tablepress/libraries/simplexlsx.class.php(166): SimpleXLSX->_parse()
    #2 /home/intranet/ftp/www/wordpress/wp-content/plugins/tablepress/libraries/simplexlsx.class.php(546): SimpleXLSX->parseData(‘PK\x03\x04\x14\x00\x06\x00\x08\x00\x00\x00!\x00A…’)
    #3 /home/intranet/ftp/www/wordpress/wp-content/plugins/tablepress/classes/class-import.php(373): SimpleXLSX::parse(‘PK\x03\x04\x14\x00\x06\x00\x08\x00\x00\x00!\x00A…’, true)
    #4 /home/intranet/ftp/www/wordpress/wp-content/plugins/tablepress/classes/class-import.php(116): TablePress_Import->import_xlsx()
    #5 /home/intranet/ftp/www/wordpress/wp-content/plugins/tablepress/controllers/controller-ad

    Steps to reproduce:
    1) Import tab, top section with the following:
    File Upload
    Browse to the document (\\intranet\wordpress\toners.xlsx)
    Import format XLSX …
    Add as a new table
    2) Clicked on import

    Immediately got a screen stating:
    “There has been a critical error on your website. Please check your site admin email inbox for instructions.”

    Document was created in Excel 2019

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This indicates that the copy of PHP on your server has been compiled/configured in a special way, namely without the SimpleXML module (see e.g. https://www.php.net/manual/en/simplexml.installation.php ).
    Due to that the necessary simplexml_load_string() PHP function is not available to TablePress, which causes this error.

    You have two options now:
    1) You could ask the server admin to make this PHP module available and install it.
    2) You will have to live without the possibility to import .xlsx files into TablePress. This should not be too much of a problem, as you could simply save the table to a .csv file in Excel and import that into TablePress.

    Regards,
    Tobias

    Thread Starter realm174

    (@realm174)

    I enabled the module and tested, and that fixed it! I appreciate your prompt response!!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Your Site is Experiencing a Technical Issue’ is closed to new replies.