Title: johnjaye's Replies | WordPress.org

---

# johnjaye

  [  ](https://wordpress.org/support/users/johnjaye/)

 *   [Profile](https://wordpress.org/support/users/johnjaye/)
 *   [Topics Started](https://wordpress.org/support/users/johnjaye/topics/)
 *   [Replies Created](https://wordpress.org/support/users/johnjaye/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/johnjaye/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/johnjaye/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/johnjaye/engagements/)
 *   [Favorites](https://wordpress.org/support/users/johnjaye/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Android [CALENDAR DOES NOT EXIST]](https://wordpress.org/support/topic/android-calendar-does-not-exist/)
 *  Thread Starter [johnjaye](https://wordpress.org/support/users/johnjaye/)
 * (@johnjaye)
 * [5 months, 2 weeks ago](https://wordpress.org/support/topic/android-calendar-does-not-exist/#post-18792810)
 * Keep closing it all you want it won’t resolve the actual issue 🙂
 * Don’t have 24/7 to work on this site. A proper tool like this would be nice to
   test it properly externally:
 * URLS=(
   “[https://site.com/?post_type=tribe_events&tribe_events_cat=tours&ical=1&eventDisplay=list&#8221](https://site.com/?post_type=tribe_events&tribe_events_cat=tours&ical=1&eventDisplay=list&#8221);“
   [https://site.com/?post_type=tribe_events&ical=1&#8221](https://site.com/?post_type=tribe_events&ical=1&#8221);“
   [https://site.com/events/ical/&#8221](https://site.com/events/ical/&#8221);“[https://site.com/events/?ical=1&#8221](https://site.com/events/?ical=1&#8221);“
   [https://site.com/?post_type=tribe_events&ical=1&tribe_events_cat=tours&#8221](https://site.com/?post_type=tribe_events&ical=1&tribe_events_cat=tours&#8221);)
   for url in “${URLS[@]}”; doecho -e “\n\nTesting: $url”echo “—————————————-“
 *     ```wp-block-code
       # Get headers
       echo "Headers:"
       curl -s -I "$url" | head -20
   
       # Get first 10 lines of content
       echo -e "\nFirst 10 lines of content:"
       curl -s -L "$url" | head -10
   
       # Check if it contains iCal data
       if curl -s -L "$url" | grep -q "BEGIN:VCALENDAR"; then
           echo -e "\n✓ This appears to be a valid iCal feed!"
       else
           echo -e "\n✗ No iCal data found in response"
       fi
       ```
   
 * done
 * So after the update and waiting couple of days something interesting happened
   now the Android 13/15s can get the calendar, they say calendar successfully added
   but you do not see it popping up nor in the menu nor the events. Also I can add
   the calendar on desktop say that GMAIL sync is on and the events don’t appear
   on Android :/
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Android [CALENDAR DOES NOT EXIST]](https://wordpress.org/support/topic/android-calendar-does-not-exist/)
 *  Thread Starter [johnjaye](https://wordpress.org/support/users/johnjaye/)
 * (@johnjaye)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/android-calendar-does-not-exist/#post-18786117)
 * Hello,
 * Sorry I did not have time to work on this, just upgraded to Version 6.15.14 .
 * The issue is exactly the same from multiple Android devices and tablets.
 * User goes to Subscribe -> Google Calendar that opens the Google Calendar as it
   should
 * **Then processing … calendar no longer exist.**
 * Can you confirm that this is the connection flow so I have something to go on
   to debug it?
 * ![](https://i0.wp.com/i.ibb.co/spy5vpTZ/cal.png?ssl=1)
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Android [CALENDAR DOES NOT EXIST]](https://wordpress.org/support/topic/android-calendar-does-not-exist/)
 *  Thread Starter [johnjaye](https://wordpress.org/support/users/johnjaye/)
 * (@johnjaye)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/android-calendar-does-not-exist/#post-18768842)
 * Hello, I’m using 6.15.9 are you referring to this 3 years old thread? [https://wordpress.org/support/topic/subscribe-to-google-calendar-does-not-work/](https://wordpress.org/support/topic/subscribe-to-google-calendar-does-not-work/)
 * I tried to do some hooks myself they do work doing their things google still 
   does not eat the feed.
 * function site_com_ultra_aggressive_fix() {
   if (!isset($_GET[‘ical’]) || $_GET[‘
   ical’] != ‘1’) {return;}
 *     ```wp-block-code
       remove_all_actions('tribe_events_ical_feed');
   
       header('Content-Type: text/calendar; charset=utf-8');
       header('Content-Disposition: attachment; filename="site-com.ics"');
   
       $events = tribe_get_events(array(
           'posts_per_page' => 50,
           'start_date' => date('Y-m-d H:i:s'),
       ));
   
       $lines = [];
       $lines[] = "BEGIN:VCALENDAR";
       $lines[] = "VERSION:2.0";
       $lines[] = "PRODID:-//Site.com//EN";
       $lines[] = "CALSCALE:GREGORIAN";
       $lines[] = "METHOD:PUBLISH";
   
       foreach ($events as $event) {
           $lines[] = "BEGIN:VEVENT";
           $lines[] = "UID:" . $event->ID . "@Site.com";
   
           $start = tribe_get_start_date($event->ID, false, 'Ymd\THis');
           $end = tribe_get_end_date($event->ID, false, 'Ymd\THis');
           $lines[] = "DTSTART:" . $start;
           $lines[] = "DTEND:" . $end;
   
           // TITLE - MAX 50 CHARS
           $title = get_the_title($event->ID);
           $title = html_entity_decode($title, ENT_QUOTES, 'UTF-8');
           $title = strip_tags($title);
           $title = substr($title, 0, 50);
           $lines[] = "SUMMARY:" . $title;
   
           // DESCRIPTION - MAX 50 CHARS
           $desc = get_the_excerpt($event->ID) ?: $event->post_content;
           $desc = html_entity_decode($desc, ENT_QUOTES, 'UTF-8');
           $desc = strip_tags($desc);
           $desc = preg_replace('/\s+/', ' ', $desc);
           $desc = substr($desc, 0, 50);
           $lines[] = "DESCRIPTION:" . $desc;
   
           // LOCATION - MAX 50 CHARS
           $location = tribe_get_venue($event->ID);
           if ($location) {
               $location = html_entity_decode($location, ENT_QUOTES, 'UTF-8');
               $location = strip_tags($location);
               $location = substr($location, 0, 50);
               $lines[] = "LOCATION:" . $location;
           }
   
           $lines[] = "END:VEVENT";
       }
   
       $lines[] = "END:VCALENDAR";
   
       // FORCE EVERY LINE to max 70 chars (to be extra safe)
       foreach ($lines as $line) {
           echo substr($line, 0, 70) . "\r\n";
       }
   
       exit;
       ```
   
 * }
   add_action(‘init’, ‘site_com_ultra_aggressive_fix’, 999);
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP GPX Maps] PHP 8.x Support](https://wordpress.org/support/topic/php-8-x-support-6/)
 *  [johnjaye](https://wordpress.org/support/users/johnjaye/)
 * (@johnjaye)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/php-8-x-support-6/#post-18686989)
 * Dude at least fix your typos:
 * IMPORTANT! this plugin will mifrate to MapBox API. [You need to create an account and get an API key.](https://console.mapbox.com/account/access-tokens/)
   This will enable beatifoul 3D maps and more features. _[You can find the complete changelog here.](https://wordpress.org/plugins/wp-gpx-maps/#developers)_
 * Even the PROD version have this **mifrate beatifoul** 😀
 * Makes newcomers think its some scam plugin with background downloaders.
 * Thanks anyway for fixing it at least, confirmed working with php 8.4

Viewing 4 replies - 1 through 4 (of 4 total)