• Resolved demon_ru

    (@demon_ru)


    After last update of wp-cerber plugin where are a lot of errors in error.log
    I thing it is confliction with BuddyPress plugin.
    I guess wp-cerber breaks the init order and forced to run hooks at the moment when BuddyPress is not fully initialized. At that moment there are no table names in variables.
    One of error from error.log:

    You have an error in your SQL syntax; check the manual that correspond
    s to your MariaDB server version for the right syntax to use near ‘WHERE active = 0 AND user_login = ‘xxxx’ ORDER BY signup_id DESC LIMIT ‘ at line 1 в ответ на запрос SELECT * FROM WHERE
    active = 0 AND user_login = ‘xxxx’ ORDER BY signup_id DESC LIMIT 0, 1, выполненный require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘setup_theme’), WP_Hook->do_action, WP_Hook->apply_filters, cerber_wp_login_page, require(‘wp-login.php’), wp_signon, wp_authenticate, apply_filters(‘authenticate’), W
    P_Hook->apply_filters, bp_core_signup_disable_inactive, BP_Signup::get” while reading response header from upstream, client: 149.56.xx.xx, server: example.com, request: “POST /auth/ HTTP/1.1”

    • This topic was modified 7 years, 2 months ago by demon_ru.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter demon_ru

    (@demon_ru)

    ones more:

    2017/09/28 23:46:07 [error] 16251#16251: *827646 FastCGI sent in stderr: “PHP message: База данных WordPress возвратила ошибку You have an error in your SQL syntax; check the manual that correspond
    s to your MariaDB server version for the right syntax to use near ‘WHERE action != ” AND action != ‘last_activity’ ORDER BY component ASC’ at line 1 в ответ на запрос SELECT DISTINCT component FRO
    M WHERE action != ” AND action != ‘last_activity’ ORDER BY component ASC, выполненный require(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP
    _Hook->do_action, WP_Hook->apply_filters, cerber_access_control, cerber_404_page, include(‘/themes/suffusion/404.php’), get_footer, locate_template, load_template, require_once(‘/themes/suffusion/f
    ooter.php’), suffusion_before_end_container, do_action(‘suffusion_before_end_container’), WP_Hook->do_action, WP_Hook->apply_filters, suffusion_print_right_sidebars, suffusion_print_sidebar, dynami
    c_sidebar, WP_Widget->display_callback, BP_SWA_Widget->wid…
    PHP message: База данных WordPress возвратила ошибку 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 ‘WHE” while reading upstream, client: 155.94.xx.xx, server: example.com, request: “GET /wp-login.php HTTP/1.1”

    Plugin Author gioni

    (@gioni)

    Or, alternatively, BuddyPress utilizes hooks some not completely compatible way. Have you ever thought about that? 🙂

    Anyway, please install the development version: http://wpcerber.com/development-version/ it should work fine.

    Thread Starter demon_ru

    (@demon_ru)

    I can’t understand it get better or not.
    I guess all errors now from case of page 404. And my settings “Use 404 template from active theme”
    In themes/suffusion/404.php where is get_footer() and so on.

    2017/09/29 10:53:08 [error] 4465#4465: *876878 FastCGI sent in stderr: “PHP message: База данных WordPress возвратила ошибку You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the r
    ight syntax to use near ‘WHERE action != ” AND action != ‘last_activity’ ORDER BY component ASC’ at line 1 в ответ на запрос SELECT DISTINCT component FROM WHERE action != ” AND action != ‘last_activity’ ORDER BY component ASC, выполненный require(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, cerber_access_control, cerber_404_page, include(‘/themes/suffusion/404.php’), get_footer, locate_template, load_template, require_once(‘/themes/suffusion/footer.php’), suffusion_before_end_container, do_action(‘suffusion_before_end_container’), WP_Hook->do_action, WP_Hook->apply_filters, suffusion_print_right_sidebars, suffusion_print_sidebar, dynamic_sidebar, WP_Widget->display_callback, BP_SWA_Widget->wid…

    Plugin Author gioni

    (@gioni)

    Have you tried the development version?

    Thread Starter demon_ru

    (@demon_ru)

    Yes, last message was after dev version installed.

    Thread Starter demon_ru

    (@demon_ru)

    After switch “Use 404 template from active theme” off i have not any erros in error.log.
    But.. it will be better to make it on.
    Thanks

    Plugin Author gioni

    (@gioni)

    That’s why this option exists. Some themes are not completely compatible with WordPress and the plugin logic. Such incompatible themes are coded either using some code tricks or by inexperienced developers.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Conflict with BuddyPress plugin’ is closed to new replies.