• Resolved gvmeble

    (@gvmeble)


    Fatal error after first installation.
    Current wordpress version: 6.4.2

    Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '`(' at line 1 in /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-includes/wp-db.php:2056 Stack trace: #0 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-includes/wp-db.php(2056): mysqli_query(Object(mysqli), 'DESCRIBE wp_trp…') #1 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-includes/wp-db.php(1945): wpdb->_do_query('DESCRIBE wp_trp…') #2 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-includes/wp-db.php(2695): wpdb->query('DESCRIBE wp_trp…') #3 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-admin/includes/upgrade.php(2749): wpdb->get_results('DESCRIBE wp_trp…') #4 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-content/plugins/translatepress-multilingual/includes/queries/class-gettext-table-creation.php(54): dbDelta(Array) #5 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-content/plugins/translatepress-multilingual/includes/class-upgrade.php(133): TRP_Gettext_Table_Creation->check_gettext_table('pl_PL') #6 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-content/plugins/translatepress-multilingual/includes/class-upgrade.php(46): TRP_Upgrade->check_if_gettext_tables_exist() #7 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-includes/class-wp-hook.php(301): TRP_Upgrade->check_for_necessary_updates() #8 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #9 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #10 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-settings.php(441): do_action('plugins_loaded') #11 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-config.php(112): require_once('/home/klient.dh…') #12 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-load.php(50): require_once('/home/klient.dh…') #13 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-admin/admin.php(34): require_once('/home/klient.dh…') #14 /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-admin/options-general.php(10): require_once('/home/klient.dh…') #15 {main} thrown in /home/klient.dhosting.pl/XYZ/XYZ.pl/wp-includes/wp-db.php on line 2056

    • This topic was modified 1 year, 1 month ago by gvmeble.
    • This topic was modified 1 year, 1 month ago by gvmeble.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    First, please be sure you are using the latest version of our plugin. If the issue persists, it may be related to the gettext tables.
    Please try the following steps:

    1. Create a backup of your database
    2. Remove the gettext tables by executing the DROP function on them
    3. Go to Settings -> TranslatePress -> General tab and Save Settings. This will regenerate the tables using your current SQL server.
    4. Test it to see if everything is working. If something went wrong, you can restore the backup that you’ve made at the first step.
    Check if no more errors occur while browsing your website in a translated language. Look at the timestamps of the errors to make sure you are not seeing the old errors. Only the most recent 5 errors are displayed.

    Plugin Support Anghel Emanuel

    (@anghelemanuel99)

    Hello there,

    Since 5 days have already passed without getting a respond from you,I consider this ticket as solved and I will mark it as “Resolved”.

    Have a great day!

    Kind Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error’ is closed to new replies.