When installing an exported theme, I get a php syntax error
-
I am happily using a block theme that I designed with this plugin. No errors in the theme when using it. I want to use it on another site and therefore I “Export to Zip” and uploaded it to a fresh install of worpdress 6.5.2 (same version of wordpress I exported the theme from). After installation of the theme and activation, I get the below error:
Parse error: syntax error, unexpected identifier “freshsnow”, expecting “)” in /home/sknowed-development/htdocs/development.sknowed.com/public/wp-content/themes/fsefreshsnow/patterns/footer.php on line 17
Line 17 is per below.
<h2 class="wp-block-heading has-white-color has-text-color has-link-color"><?php echo __('Contact', 'fse <?php echo __('freshsnow', 'fsefreshsnow');?>');?></h2>
I can see already there is another line like above that will produce an error like above. Is this some sort of bug? I re-exported a couple of times and still have the same problem. Any tips appreciated.
- The topic ‘When installing an exported theme, I get a php syntax error’ is closed to new replies.