0
I am making a website in worpress and as soon as I installed a plugin called Taylor Builder it returned me the following error:
Parse error: syntax error, Unexpected T_STRING in /home/Storage/0/2b/cc/w2belocal/public_html/wp-content/plugins/Tailor/includes/Controls/Abstract-control.php on line 260
When I open this direct path via FTP and go to the line 260 is as follows:
<a class="button button-small js-default <% if ( 'undefined' == typeof showDefault || !showDefault ) { %>is-hidden<% } %>">
<?php _e( 'Default', 'tailor' ); ?>
</a>
I don’t know what I can change to work, since I’m a back-end layman. I believe some punctuation or quotation marks are missing, but I’ve tried and it didn’t roll.
Please, can someone tell me what makes this mistake?
Thank you.
What’s weird about this chunk of code is that it has ASP tags
<% e %>
inside a file.php
. It would have to post the complete file to take a look ?– Alisson Acioli
@Alissonacioli outside that inside the tags has the use of
typeof
, which makes me think this is either Javascript– Guilherme Nascimento
@Guilhermenascimento but if PHP has the "asp_tags" directives enabled, will give Parser Error even.
– Wallace Maxters