This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Server Crashed because of Plugin

#3844
Ernest MarcinkoErnest Marcinko
Keymaster

Wait a second, I see something strange, altough I don’t know if it’s related to a crash. Some of the lines contain:

[code]OR MATCH(hooplaha_posts.post_title,hooplaha_posts.post_content) AGAINST (‘caption galifianakis com source imgur id=”” align=”alignnone” width=”635″‘ IN BOOLEAN MODE))[/code]

That looks very strange to me, the commas are not stripped as the should be.

Would you please open up the wp-content/plugins/related-posts-pro/includes/related_content.class.php file and scroll down to line 1090, where you should see this:

[php]$str = str_replace(array(".", ",", "$", "\\", "/", "{", "^", "}","?", "!", ";", "(", ")", ":", "[", "]"), " ", $str);
[/php]
try to modify that line to this:

[code]$str = str_replace(array(".", ",", "$", "\\", "/", "{", "^", "}","?", "!", ";", "(", ")", ":", "[", "]", ‘"’, "’"), " ", $str);[/code]

I’m not sure if it’s related to the crash, but if so, then this should solve the problem.