Viewing 2 reply threads
You must be logged in to reply to this topic.
It just started randomly when I wanted to customize the page, its showing me like 100 lines of the same error:
<b style=”box-sizing: border-box; color: #d1d1d1; font-family: colfax-light;”>Warning</b><span style=”color: #d1d1d1; font-family: colfax-light;”>: Cannot assign an empty string to a string offset in </span><b style=”box-sizing: border-box; color: #d1d1d1; font-family: colfax-light;”>/home/roaster1/public_html/wp-content/plugins/codeless-builder/include/core/cl-page-builder.php</b><span style=”color: #d1d1d1; font-family: colfax-light;”> on line </span><b style=”box-sizing: border-box; color: #d1d1d1; font-family: colfax-light;”>389</b>
The line is:
<span style="color: #800080;">$shortcode</span>[<span style="color: #800000;">'attrs'</span>][<span style="color: #800000;">'content'</span>] = <span style="color: #800080;">$content</span>; whats going on? how to fix this? I updated the theme few days ago and it was working fine until today!
Hello,
Please try to replace the line above with the lines below:
if( is_array( $shortcode['attrs'] ) )
$shortcode['attrs']['content'] = $content;
else
$shortcode['attrs'] = array( 'content' => $content );
Save the file and let us know.
Regards!
You must be logged in to reply to this topic.