projectnami icon indicating copy to clipboard operation
projectnami copied to clipboard

php7.4 notice - Ubuntu 18 and Sql Server

Open abelmvargas opened this issue 3 years ago • 0 comments

Hello team,

I have installed the version 2.7.1. Compatible with WordPress 5.7.1, but when activating a plugin in wordpress the apache log repeatedly throws the following error and generates unavailability.

[Tue Apr 20 18:27:36.824190 2021] [php7:notice] [pid 1729] [client xxxxxx:37804] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'AND'. Code - 4145 for query SELECT option_name, option_value \n\t\t\tFROM wp_options \n\t\t\tWHERE 1\n\t\t\tAND option_name IN('pmpro_updates','pmpro_stripe_billingaddress','pmpro_only_filter_pmpro_emails','pmpro_email_member_notification','pmpro_hideads','pmpro_hideadslevels','_bbp_enable_group_forums','_bbp_theme_package_id','_bbp_root_slug','_bbp_include_root','_bbp_forum_slug','_bbp_topic_slug','_bbp_show_on_root','_bbp_topic_archive_slug','_bbp_reply_slug','_bbp_topic_tag_slug','_bbp_allow_topic_tags','_bbp_use_autoembed','_bbp_user_slug','_bbp_view_slug','_bbp_search_slug','_bbp_reply_archive_slug','_bbp_user_favs_slug','_bbp_user_subs_slug','pmpro_nuclear_HTTPS','pmpro_gateway','pmpro_recaptcha','pmpro_use_ssl','_bbp_enable_favorites','_bbp_enable_subscriptions','_bbp_allow_search','_bbp_use_wp_editor','pmpro_hide_footer_link','learn-press-flush-rewrite-rules','_lp_tabs_data','learn_press_permalinks') made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, LearnPress->plugin_loaded, LearnPress->init, LearnPress->settings, LP_Settings::instance, LP_Settings->__construct, LP_Settings::load_site_options

The server has installed

Ubuntu 18.04 PHP 7.04 Sql Server Express

I appreciate your collaboration.

abelmvargas avatar Apr 20 '21 18:04 abelmvargas