• Resolved Neyl

    (@neyl8)


    Hello,

    first thing I want to say, I’m very disappointed with this plugin since the 4.0 version.

    Second, I noticed now that when installing the plugin on new site, it created notification in plugins area, saying that while activating it produced 716 characters of unexpected output.

    And when checking debug.log, this was inside: WordPress database error: Unknown table 'wp_wpzerospam_blocked' in MULTI DELETE. Specific query: DELETE wp_wpzerospam_blocked FROM wp_wpzerospam_blocked AS t1 INNER JOIN wp_wpzerospam_blocked AS t2 WHERE t1.blocked_id < t2.blocked_id AND t1.user_ip = t2.user_ip;. Function: activate_plugin, do_action('activate_zero-spam/wordpress-zero-spam.php'), WP_Hook->do_action, WP_Hook->apply_filters, wpzerospam_install.
    And this: WordPress database error: Unknown table 'wp_wpzerospam_blacklist' in MULTI DELETE. Specific query: DELETE wp_wpzerospam_blacklist FROM wp_wpzerospam_blacklist AS t1 INNER JOIN wp_wpzerospam_blacklist AS t2 WHERE t1.blacklist_id < t2.blacklist_id AND t1.user_ip = t2.user_ip;. Function: activate_plugin, do_action('activate_zero-spam/wordpress-zero-spam.php'), WP_Hook->do_action, WP_Hook->apply_filters, wpzerospam_install.

    On the site there is only Contact form 7 activated. Yet it enqueues the wpzerospam-integration-buddy-press .js file – wp-content/plugins/zero-spam//integrations/buddypress/js/buddypress.js

    While inspecting this file, I saw WordPressZeroSpamIntegrations.cf7.init(); but I think it should rather be WordPressZeroSpamIntegrations.buddyPress.init();.

    And also it appears you have something wrong with the paths to your .js files, as there are two “/”.

    • This topic was modified 4 years, 3 months ago by Neyl.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Ben Marshall

    (@bmarshall511)

    Hey, thanks for pointing those issues out. Just pushed a new release (v4.9.2) that fixes those problems.

    Thread Starter Neyl

    (@neyl8)

    Thank you for fixing those issues.

    Have you checked if your plugin blocks BuddyPress spams?

    In your file zero-spam/integrations/buddypress/js/buddypress.js there is this line: WordPressZeroSpamIntegrations.cf7.init(); but it rather should be WordPressZeroSpamIntegrations.buddyPress.init();

    Plugin Author Ben Marshall

    (@bmarshall511)

    You’re a rock star, just pushed up a fix.

    Thread Starter Neyl

    (@neyl8)

    I have also found that you forgot to fix the double slashes in the URLS in your zero-spam/inc/scripts.php file.

    Plugin Author Ben Marshall

    (@bmarshall511)

    Nice catch, it’ll be updated in the next release.

    Thread Starter Neyl

    (@neyl8)

    Actually now that I looked more into your plugin files, it’s just that whenever you use plugin_dir_path, you forget that it always adds trailing slash, and whenever you require .php files, you add a slash at start, could you please also fix that too? I guess that’s not really an issue, but maybe it could do some troubles in some poorly configured servers?

    Plugin Author Ben Marshall

    (@bmarshall511)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin’s errors’ is closed to new replies.