• Resolved dropdeaddove

    (@dropdeaddove)


    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)
  • I have exactly same errors. Using php 7.4.

    Same issue here, I looked through the documentation and did some searching on the Internet but could not find a solution. I tried updating all plugins, themes, and WordPress; deactivated all plugins; removed custom CSS and JS; cleared cache; tried different browsers, but nothing has worked.

    I just tried this plugin on fresh WP instalation and this error is there. So this is not conficting with other plugins… Problem apperars on both WP 5.5 and 5.6.

    Also seems to be happening in the 3.1.35 version.
    Admin bar disappears and other jquery features on the page break.

    When plugin disabled- problem gone.

    Thread Starter dropdeaddove

    (@dropdeaddove)

    The latest update seems to have solved the problem!

    Unfortunately I have still problem even with v3.1.35. I cannot even activate plugin. This time there is probably conflict with other plugin, skaut-google-drive-gallery. I can have active only one at a time. But with 3.1.31 everything is working…
    Error when trying to activate plugin:
    Fatal error: Cannot declare class Google_Task_Composer, because the name is already in use in /data/www/zuskralupy.cz/t.zuskralupy.cz/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/aliases.php on line 40

    Thanks for advices.

    Now it seams that problem is gone. Thanks

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.