• Resolved Hans Schuijff

    (@hanswitteprins)


    Hi,

    I’m using Local from Flywheel for local dev. And since version 5.0.3 of The Event Calendar. It doesn’t transform the gutenberg block html comments in the block content on single event pages. I have tried to find out why, but got no php errors or js-errors that gave me clues. Trying out previous versions I found that until version 5.0.2.1 the front-end performed well, but both versions 5.0.3 and 5.0.3.1 just gave the tile and description, but not the date-time block and such. see below… the block editor works fine, so it’s just a front-end problem.

    <div id="post-5" class="post-5 tribe_events type-tribe_events status-publish hentry">
    	<!-- wp:tribe/event-datetime /-->
    
    	<!-- wp:paragraph {"placeholder":"Add Description..."} -->
    	<p>This is an event description</p>
    	<!-- /wp:paragraph -->
    
    	<!-- wp:tribe/event-price {"costDescription":"Priceless ticket"} /-->
    
    	<!-- wp:tribe/event-organizer {"organizer":7} /-->
    
    	<!-- wp:tribe/event-venue /-->
    
    	<!-- wp:tribe/event-website /-->
    
    	<!-- wp:tribe/event-links /-->
    </div>

    I first tried disabling other plugins and reverting to the the twenty twenty theme, but that didn’t solve it. I then installed a new wp instance and installed only TEC on it and found the latest version there too broke like this.

    In the php log I found the following two messages, that seem to point to wp-cli.

    [28-Mar-2020 08:08:06 UTC] PHP Parse error:  syntax error, unexpected '%', expecting identifier (T_STRING) in phar:///usr/local/bin/wp/vendor/rmccue/requests/library/Requests.php on line 47
    [28-Mar-2020 08:08:07 UTC] PHP Parse error:  syntax error, unexpected '<', expecting end of file in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/SynopsisValidator.php on line 92

    I’m not sure how to proceed with this, except for asking and hoping someone has pointers to a solution. Any suggestions? Or is this just a bug that only shows in certain env? It seems somewhere the code broke the gutenberg chain.

    For now I’m stuck in 5.0.2.1 since more recent versions don’t work for me locally. Hope I can update at some time.

    server: nginx
    php versions: 7.29 & 7.3.2
    mysql version: 5.7.23
    WP version: 5.3.2
    TEC version 5.0.3+

    Regard,

    Hans

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Hans Schuijff

    (@hanswitteprins)

    I hadn’t migrated my website to the block editor yet, but found that when I set TEC to using the block editor and using the new archive-layouts it still worked at first.

    But the same problem occurred immediately after I updated and saved the event in the block editor. After that, the TEC meta isn’t displayed anymore and the frontend just shows the event title and description. Same problem.

    FYI: That website hosts at BigScoots on a managed VPN WP plan and been running fine for years now.

    It means, it isn’t just a problem with local from Flywheel.

    As a side note: Saving in the block editor sometimes results in an error message, that the response isn’t a valid json response. So I don’t know if the problem is in the save action or in the display.

    For now I just keep using the classic editor and displays.

    regards, Hans

    It’s the same issue as in this thread. You’re not alone.
    https://wordpress.org/support/topic/version-5-0-3-1-breaks-v2/

    Thread Starter Hans Schuijff

    (@hanswitteprins)

    You’re right, it’s the same issue. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘TEC 5.0.3+ : Single Event frontend breaks in Local from Flywheel’ is closed to new replies.