→→ Please check out our new WP Theme: Navian - Responsive Multi-Purpose WordPress Theme ←←
In case you can't login to submit a ticket, please hard refresh the browser and try to login again.
If the problem persists, please send us a message via THEMELOGI profile page so we can help you out.
To update the theme or plugins, please have a look on the article here: Theme & Plugin Updates.
Also, if you couldn't import the demo content or the site is blank, please see our FAQs page for the solutions. Thank you :)

Tickets Tickets Roneous Error when saving a page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5076

    I got this error when saving a page:

    Warning: Cannot modify header information – headers already sent by (output started at /home/polaroid/domains/mrpolaroid.com/public_html/wp-content/plugins/tlg_framework/includes/vc_shortcodes/tlg_buttons.php:40) in /home/polaroid/domains/mrpolaroid.com/public_html/wp-admin/post.php on line 198

    Warning: Cannot modify header information – headers already sent by (output started at /home/polaroid/domains/mrpolaroid.com/public_html/wp-content/plugins/tlg_framework/includes/vc_shortcodes/tlg_buttons.php:40) in /home/polaroid/domains/mrpolaroid.com/public_html/wp-includes/pluggable.php on line 1216

    Any idea how to fix this?

    Thanks!!

    #5083
    Danny
    Supporter

    Hi there,

    Thanks for writing in!

    To resolve this issue, please open up the tlg_buttons.php file in wp-content/plugins/tlg_framework/includes/vc_shortcodes/ folder, find the code below (around line 40,41) :

    echo "<script...

    … and change it into this:

    $cutoms_script = "<script...

    Then find the code below in the same file (line 63) :

    return $link_prefix.$title.$link_sufix;

    … and change it into this:

    return $link_prefix.$title.$link_sufix.(isset($cutoms_script) : $cutoms_script ? '');

    We’ll add this fix in next updates of the theme.

    If the problem persists, please share us the admin account of your site via private reply so we can investigate your case and help you out. Also, please point to specific page where we can see the problem. Any screenshots would be welcomed!

    Best regards,
    Danny

    #5105

    I got this error now on the whole site:

    Parse error: syntax error, unexpected ‘:’ in /home/polaroid/domains/mrpolaroid.com/public_html/wp-content/plugins/tlg_framework/includes/vc_shortcodes/tlg_buttons.php on line 63

    #5119
    Danny
    Supporter

    Hi there,

    Thanks for your info!

    Sorry for the issue. Please change the code here:

    return $link_prefix.$title.$link_sufix.(isset($cutoms_script) : $cutoms_script ? '');

    .. into this:

    return $link_prefix.$title.$link_sufix.(isset($cutoms_script) ? $cutoms_script : '');

    If the problem persists, please share us the admin account of your site via private reply so we can investigate your case and help you out.

    Best regards,
    Danny

    #9682

    Hello, I’m having the same exact issue almost 2 years later… I’m running the latest version (January).
    By any chance, is this fix lost during the updates?

    Warning: Cannot modify header information - headers already sent by (output started at /home3/holyfirereikieu/public_html/wp-content/plugins/tlg_framework/includes/vc_shortcodes/tlg_header_single.php:352) in /home3/holyfirereikieu/public_html/wp-admin/post.php on line 223
    
    Warning: Cannot modify header information - headers already sent by (output started at /home3/holyfirereikieu/public_html/wp-content/plugins/tlg_framework/includes/vc_shortcodes/tlg_header_single.php:352) in /home3/holyfirereikieu/public_html/wp-includes/pluggable.php on line 1265
    
    Warning: Cannot modify header information - headers already sent by (output started at /home3/holyfirereikieu/public_html/wp-content/plugins/tlg_framework/includes/vc_shortcodes/tlg_header_single.php:352) in /home3/holyfirereikieu/public_html/wp-includes/pluggable.php on line 1268
    #9683

    Ok, solved by activating Woocommerce, though I don’t need it and I wanted to avoid having extra plugins. Is there a way to avoid the issue without having WooCommerce activated?

    Thanks,
    Davide

    #9693
    Danny
    Supporter

    Hi Davide,

    Thanks for writing in!

    To resolve this issue, please open up the tlg_header_single.php file in wp-content/plugins/tlg_framework/includes/vc_shortcodes/ folder, find the code below (around line 352) :

    echo "<script...

    … and change it into this:

    $cutoms_script = "<script...

    Then find the code below in the same file (line 416) :

    return $output;

    … and change it into this:

    return $output.(isset($cutoms_script) : $cutoms_script ? '');

    We’ll add this fix in next updates of the theme.

    Best regards,
    Danny

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.