Title: PHP warning
Last modified: April 4, 2019

---

# PHP warning

 *  [Nazar Hotsa](https://wordpress.org/support/users/bugnumber9/)
 * (@bugnumber9)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warning-189/)
 * Hello,
 * I’m noticing the following entries in PHP error log under PHP 7.2.x
 *     ```
       [04-Apr-2019 12:17:29 UTC] PHP Warning:  implode(): Invalid arguments passed in .../wp-content/plugins/post-views-counter/includes/crawler-detect.php on line 153
       [04-Apr-2019 12:17:29 UTC] PHP Stack trace:
       [04-Apr-2019 12:17:29 UTC] PHP   1. {main}() .../wp-content/plugins/post-views-counter/includes/ajax.php:0
       [04-Apr-2019 12:17:29 UTC] PHP   2. do_action() .../wp-content/plugins/post-views-counter/includes/ajax.php:87
       [04-Apr-2019 12:17:29 UTC] PHP   3. WP_Hook->do_action() .../wp-includes/plugin.php:465
       [04-Apr-2019 12:17:29 UTC] PHP   4. WP_Hook->apply_filters() .../wp-includes/class-wp-hook.php:310
       [04-Apr-2019 12:17:29 UTC] PHP   5. Post_Views_Counter_Counter->check_post_ajax() .../wp-includes/class-wp-hook.php:286
       [04-Apr-2019 12:17:29 UTC] PHP   6. Post_Views_Counter_Counter->check_post() .../wp-content/plugins/post-views-counter/includes/counter.php:190
       [04-Apr-2019 12:17:29 UTC] PHP   7. Post_Views_Counter_Crawler_Detect->is_crawler() .../wp-content/plugins/post-views-counter/includes/counter.php:88
       [04-Apr-2019 12:17:29 UTC] PHP   8. Post_Views_Counter_Crawler_Detect->get_exclusions() .../wp-content/plugins/post-views-counter/includes/crawler-detect.php:165
       [04-Apr-2019 12:17:29 UTC] PHP   9. implode() .../wp-content/plugins/post-views-counter/includes/crawler-detect.php:153
       ```
   
 * Looks like a bug?

Viewing 1 replies (of 1 total)

 *  [damienwhaley](https://wordpress.org/support/users/damienwhaley/)
 * (@damienwhaley)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/php-warning-189/#post-11437146)
 * We have come across the same thing.
 * I’ve created a pull request which fixes this warning:
 * [https://github.com/dfactoryplugins/post-views-counter/pull/24](https://github.com/dfactoryplugins/post-views-counter/pull/24)

Viewing 1 replies (of 1 total)

The topic ‘PHP warning’ is closed to new replies.

 * ![](https://ps.w.org/post-views-counter/assets/icon-256x256.png?rev=2973820)
 * [Post Views Counter](https://wordpress.org/plugins/post-views-counter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-views-counter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-views-counter/)
 * [Active Topics](https://wordpress.org/support/plugin/post-views-counter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-views-counter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-views-counter/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [damienwhaley](https://wordpress.org/support/users/damienwhaley/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/php-warning-189/#post-11437146)
 * Status: not resolved