Title: log error
Last modified: July 22, 2018

---

# log error

 *  [ideeregalouomo](https://wordpress.org/support/users/ideeregalouomo/)
 * (@ideeregalouomo)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/log-error-4/)
 * Hi,
    you made one of my favourite plugin ever. I’m using Contextual related post
   on all my web sites. Recently i notice this message in my apache log file.
 * [Sat Jul 21 10:53:32.509116 2018] [:error] [pid 14540] [client xxx.xxx.79.2:61693]
   PHP Warning: explode() expects parameter 2 to be string, object given in /var/
   www/html/wp-content/plugins/contextual-related-posts/includes/main-query.php 
   on line 420
 * Where line 420 in my installation is like this:
 * $exclude_post_ids = explode( ‘,’, $args[‘exclude_post_ids’] );
 * I’m running WP on Ubuntu 16.04, PHP 7.0
    Any idea on how to fix this?
 * Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/log-error-4/#post-10545403)
 * Can you try resaving the settings in the settings page?

Viewing 1 replies (of 1 total)

The topic ‘log error’ is closed to new replies.

 * ![](https://ps.w.org/contextual-related-posts/assets/icon-256x256.png?rev=2985705)
 * [Contextual Related Posts](https://wordpress.org/plugins/contextual-related-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contextual-related-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contextual-related-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/contextual-related-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contextual-related-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contextual-related-posts/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/log-error-4/#post-10545403)
 * Status: not resolved