Title: Problem plugin activation
Last modified: March 23, 2023

---

# Problem plugin activation

 *  Resolved [igest](https://wordpress.org/support/users/igest/)
 * (@igest)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/problem-plugin-activation-2/)
 * Hi, i acctually having a problem trying to activate this plugin, during the process
   it throws the following message:
   Fatal error: Uncaught mysqli_sql_exception: 
   You have an error in your SQL syntax; check the manual that corresponds to your
   MySQL server version for the right syntax to use near ‘IF’ at line 1 in /wp-includes/
   wp-db.php:2056 Stack trace: #0 /homepages/12/d819679824/htdocs/cabalpsicologos/
   wp-includes/wp-db.php(2056): mysqli_query() #1/wp-includes/wp-db.php(1945): wpdb-
   >_do_query() #2/wp-includes/wp-db.php(2696): wpdb->query() #3/wp-admin/includes/
   upgrade.php(2795): wpdb->get_results() #4/wp-content/plugins/userway-accessibility-
   widget/includes/functions.php(26): dbDelta() #5/wp-content/plugins/userway-accessibility-
   widget/userway.php(24): initUwTable() #6/wp-includes/class-wp-hook.php(287): 
   usw_userway_activation() #7/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()#
   8/wp-includes/plugin.php(484): WP_Hook->do_action() #9/wp-admin/plugins.php(193):
   do_action() #10 {main} thrown in/wp-includes/wp-db.php on line 2056The site is
   running WP: 5.6.10Data base: MySQL 5.7PHP Ver. 8.1I tried on other site the same
   hosting provider and same configuration, and no problem…. of course different
   WP versión, It is supposed this version (5.6.1 is supported) and i would preffer
   to try a solution before updating WP because there are some other things involved
   that could make the site have issues to manage.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-plugin-activation-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [igest](https://wordpress.org/support/users/igest/)
 * (@igest)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/problem-plugin-activation-2/#post-16587179)
 * Of course, I just tried to update WP to 6.1.1 and activation works…. still waiting
   for some idea if I want to mantain previous WP’s version, but if there is no 
   other option, I’ll have to manage this as a solution.
 *  Plugin Author [UserWay](https://wordpress.org/support/users/userwayorg/)
 * (@userwayorg)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/problem-plugin-activation-2/#post-16587222)
 * Hi there!
 * Thanks for contacting UserWay. 😀
 * There is another way to install our widget to the site without installing the
   plugin, which is adding the code directly to the site.
 * You can get the widget’s code linked with your own account at [https://userway.org/code](https://userway.org/code)
 * You can add the script directly to the theme file or via an injector such as “
   Insert Headers And Footers” plugin.
 * Let us know if you need any further assistance or information
 *  Thread Starter [igest](https://wordpress.org/support/users/igest/)
 * (@igest)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/problem-plugin-activation-2/#post-16587424)
 * Really appreciate your answer, didn’t know about that feature. It’s ok!!

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

The topic ‘Problem plugin activation’ is closed to new replies.

 * ![](https://ps.w.org/userway-accessibility-widget/assets/icon.svg?rev=2526447)
 * [Accessibility by UserWay](https://wordpress.org/plugins/userway-accessibility-widget/)
 * [Support Threads](https://wordpress.org/support/plugin/userway-accessibility-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/userway-accessibility-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/userway-accessibility-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/userway-accessibility-widget/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [igest](https://wordpress.org/support/users/igest/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/problem-plugin-activation-2/#post-16587424)
 * Status: resolved