-
-
Hi there – I just updated theme to 1.1.0 and it whitescreened my site. I checked the error logs and saw this error:
[04-Sep-2017 03:55:18 UTC] PHP Parse error: syntax error, unexpected ‘)’, expecting ‘,’ or ‘;’ in …/wp-content/themes/folie/includes/codeless_builder/header-elements/cl_header_text.php on line 20
After I renamed that file, I can restore my site, but my header text is missing.
- This topic was modified 7 years, 2 months ago by brightestspark.
-
-
Hey guys, I have the same problem, errors in
Parse error
: syntax error, unexpected ‘)’, expecting ‘,’ or ‘;’ in wp-content/themes/folie/includes/codeless_builder/header-elements/cl_header_text.php on line 20Have added my info into the profile…
-
Hello,
Please go to file folie/includes/codeless_builder/header-elements/cl_header_text.php and replace the existing code with the below:
<?php extract($element['params']); $output = ''; $output = ''; $text_id = 'cl_text_' . uniqid(); if( (int) $margin_paragraphs != 10 ){ ?> <style type="text/css"> #<?php echo esc_attr( $text_id ) ?> p{ margin-top: <?php echo esc_attr( $margin_paragraphs ) ?>; margin-bottom:<?php echo esc_attr( $margin_paragraphs ) ?>; } </style> <?php } ?> <div id="<?php echo esc_attr( $text_id ) ?>" class="cl-text <?php echo esc_attr( $this->generateClasses('.cl-text') ) ?>" <?php $this->generateStyle('.cl-text', true ) ?>> <?php echo cl_remove_wpautop($content, true); ?> </div>
Save changes and check your site.
@brightestspark i already made the change for you using the given ftp credentials. You only need to rename back to original the file and refresh site.
Let us know.PS: We are pushing on an immediate update for this fix. So you do not have to worry for future updates.
Best regards!
-
-
You must be logged in to reply to this topic.