[Resolved] Warning: substr() expects parameter 3 to be long
I use the amr-ical-events-list plugin along with event manager. The plugin was working normal until I recently discovered this error message on the calendar page on my site:
Warning: substr() expects parameter 3 to be long, string given in /home/thecoach/public_html/wp-content/plugins/amr-ical-events-list/includes/amr-ical-events-list-main.php on line 802
This is the link to my site where the error is appearing: http://www.thecoachingroom.com.au/calender.html
The code on Line 801, 802, 803 is this:
$excerpt = substr( $desc,0, // start apply_filters('excerpt_length', 55)) .'...'; //length
How do I remove the error message from displaying on my site. Any help will be highly appreciated.
- The topic ‘[Resolved] Warning: substr() expects parameter 3 to be long’ is closed to new replies.