• Hello,

    I just installed pluging to fix some image url issues. After installing I click to activate plugin and I get “Fatal Error” and I tried again from plugins page.

    This is my error message:

    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 'IF' at line 1 in /home/sanawgco/public_html/wp-includes/wp-db.php:2056 Stack trace: #0 /home/sanawgco/public_html/wp-includes/wp-db.php(2056): mysqli_query() #1 /home/sanawgco/public_html/wp-includes/wp-db.php(1945): wpdb->_do_query() #2 /home/sanawgco/public_html/wp-includes/wp-db.php(2695): wpdb->query() #3 /home/sanawgco/public_html/wp-admin/includes/upgrade.php(2749): wpdb->get_results() #4 /home/sanawgco/public_html/icerik/plugins/broken-images-redirection/broken-images-redirection.php(55): dbDelta() #5 /home/sanawgco/public_html/icerik/plugins/broken-images-redirection/broken-images-redirection.php(33): BIR_create_table() #6 /home/sanawgco/public_html/wp-includes/class-wp-hook.php(303): BIR_install() #7 /home/sanawgco/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #8 /home/sanawgco/public_html/wp-includes/plugin.php(470): WP_Hook->do_action() #9 /home/sanawgco/public_html/wp-admin/plugins.php(193): do_action() #10 {main} thrown in /home/sanawgco/public_html/wp-includes/wp-db.php on line 2056

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author osama.esh

    (@osamaesh)

    Hello,
    Thank you for reporting this issue, We tested the plugin on more than 6 sites and it works fine!
    Can I know the PHP version used?
    Could you please confirm if you still have this issue?

    • This reply was modified 2 years, 8 months ago by osama.esh.
    Thread Starter onurparlar

    (@onurparlar)

    Hello @osamaesh

    PHP Version: 8.1.3

    I had to uninstall plugin…

    If you need more information I can reinstall it?

    Thank You

    Plugin Author osama.esh

    (@osamaesh)

    Yes please re-install it and let me know if it works or not
    I tested the plugin on PHP 8 and it works fine!

    Thank you

    Thread Starter onurparlar

    (@onurparlar)

    @osamaesh

    I just installed plugin back…

    Everything working normal…

    Thank you for help

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error on Activation’ is closed to new replies.