• Resolved maximmmus

    (@maximmmus)


    Hi,

    I get this error when saving or publishing a post. I have tracked down 3 errors created in the php-error log which points out the issue to the crp plugin. Yesterday before the WP upgrade everything worked fine!
    Can you please help me to fix this. Thanks

    Here are the errors:

    [24-Jul-2015 10:09:08 UTC] WordPress database error Duplicate key name 'crp_related' for query ALTER TABLE wp_posts ADD FULLTEXT crp_related (post_title, post_content); made by activate_plugins, activate_plugin, do_action('activate_contextual-related-posts/contextual-related-posts.php'), call_user_func_array, crp_activate, crp_single_activate
    [24-Jul-2015 10:09:08 UTC] WordPress database error Duplicate key name 'crp_related_title' for query ALTER TABLE wp_posts ADD FULLTEXT crp_related_title (post_title); made by activate_plugins, activate_plugin, do_action('activate_contextual-related-posts/contextual-related-posts.php'), call_user_func_array, crp_activate, crp_single_activate
    [24-Jul-2015 10:09:08 UTC] WordPress database error Duplicate key name 'crp_related_content' for query ALTER TABLE wp_posts ADD FULLTEXT crp_related_content (post_content); made by activate_plugins, activate_plugin, do_action('activate_contextual-related-posts/contextual-related-posts.php'), call_user_func_array, crp_activate, crp_single_activate

    https://ww.wp.xz.cn/plugins/contextual-related-posts/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WebberZone

    (@webberzone)

    Hi,

    Could you please deactivate the plugin and try saving / publishing posts and let me know if it goes through fine.

    The error above doesn’t surprise me if you’ve activated the plugin again. However, it shouldn’t be working on every post save since in theory the activate plugin routine only runs when activating the plugin (as it should) and not saving posts.

    Thread Starter maximmmus

    (@maximmmus)

    I did deactivate all plugins and got the same error with the new WP. After reactivating I saw these 3 errors appearing in the php-error log file. I thought it might be this plugin the problem.

    I have downgraded to previous wp and since editing and saving posts works again. But it doesn’t work with wp 4.2.3. Any ideas?

    Plugin Author WebberZone

    (@webberzone)

    Hi,

    Whenever you activate CRP after the first time, it will throw those errors in the PHP log. The reason is because the index exists as it was never deleted. The index is deleted if you deactivate and then delete the plugin.

    If you’re getting the same error with all plugins deactivated, then it is more likely an issue with core WP. You might try to reinstall it from the Dashboard > Updates page.

    Also, you might have better luck asking in the main WP forums. You’ve got better WP core experienced people answering queries there 🙂

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

The topic ‘500 – Internal Server Error’ is closed to new replies.