Title: error in parameter for version 1.4.1
Last modified: August 22, 2016

---

# error in parameter for version 1.4.1

 *  [onyekat](https://wordpress.org/support/users/onyekat/)
 * (@onyekat)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-in-parameter-for-version-141/)
 * i inserted the code into a page . it displays content correctly but at the top
   of the page i see the error message below in three lines before the output as
   shown below
 *  Warning mb_substr() expects parameter 3 to be long, string given in /home/onyekat/
   public_html/www.mysite.com/wp-content/plugins/posts-per-cat/inc/tools.phpparameter
   error in version 1.4.1 on line 6
 * Warning mb_substr() expects parameter 3 to be long, string given in /home/onyekat/
   public_html/www.mysite.com/wp-content/plugins/posts-per-cat/inc/tools.phpparameter
   error in version 1.4.1 on line 6
 * Warning mb_substr() expects parameter 3 to be long, string given in /home/onyekat/
   public_html/www.mysite.com/wp-content/plugins/posts-per-cat/inc/tools.phpparameter
   error in version 1.4.1 on line 6
 * any help on how to gelete this error message
 * [https://wordpress.org/plugins/posts-per-cat/](https://wordpress.org/plugins/posts-per-cat/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-in-parameter-for-version-141/#post-5510065)
 * Can you please tell me what version of PHP you have on server?
 * Also, check do you have numeric value for Shortened title length (w/o spaces).
 * If you wish to disable warning outputs on website frontend, add to wp-config.
   php this:
 * `define( 'WP_DEBUG', false );`
 * Cheers,
    Urke

Viewing 1 replies (of 1 total)

The topic ‘error in parameter for version 1.4.1’ is closed to new replies.

 * ![](https://ps.w.org/posts-per-cat/assets/icon.svg?rev=989433)
 * [Posts per Cat](https://wordpress.org/plugins/posts-per-cat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-per-cat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-per-cat/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-per-cat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-per-cat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-per-cat/reviews/)

## Tags

 * [error message](https://wordpress.org/support/topic-tag/error-message/)

 * 1 reply
 * 2 participants
 * Last reply from: [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/error-in-parameter-for-version-141/#post-5510065)
 * Status: not resolved