TEC 5.0.3+ : Single Event frontend breaks in Local from Flywheel
-
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
- The topic ‘TEC 5.0.3+ : Single Event frontend breaks in Local from Flywheel’ is closed to new replies.