latest update seems to be throwing up errors in the DOM
-
Updated the plugin today to version 3.1.34, there are a whole bunch of repeated strpos() errors popping up for each event it finds in my google calendar. so many that the errors are taking up more space than the content!
Error reads:
Warning: strpos(): Empty needle in /home/sites/13b/7/7e975c55fd/public_html/wp-content/plugins/google-calendar-events/includes/feeds/google.php on line 383 Warning: strpos(): Empty needle in /home/sites/13b/7/7e975c55fd/public_html/wp-content/plugins/google-calendar-events/includes/feeds/google.php on line 384
the following code is lines 382 to 387:
for( $i = 0; $i < count( $search_query ); $i++ ) { if ( strpos( strtolower( $k2['title'] ), $search_query[ $i ] ) !== false || strpos( strtolower( $k2['description'] ), $search_query[ $i ] ) !== false ) { $search_found = true; } }
Updating the plugin was the only change I made before this appeared on the page
The page is using a coming soon page and cant be public facing yet, but here is a link to a capture of the page in question: https://imgur.com/a/gPigpzw
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘latest update seems to be throwing up errors in the DOM’ is closed to new replies.