New Landing How can we help? Themeforest Theme Support Neighborhood Tried changing 'Add To Shopping Bag' and caused a coding error

Viewing 15 posts - 1 through 15 (of 17 total)
  • #79373
    patrickcb
    Member
    Post count: 35

    Hiya,

    I tried following advice here to change the wording of ‘add to shopping bag’ on the single product page but I’ve not been able to do it and ended up messing up some code.

    I originally added some code to Functions.PHP which I’ve now deleted.

    I’m getting this error message now:

    Warning: Cannot modify header information – headers already sent by (output started at /websites/123reg/LinuxPackage21/su/bg/ro/subgrown.co/public_html/wp-content/themes/neighborhood_v1.72/neighborhood/functions.php:1) in /websites/123reg/LinuxPackage21/su/bg/ro/subgrown.co/public_html/wp-content/plugins/yith-woocommerce-wishlist/functions.yith-wcwl.php on line 118

    How do I fix this?

    As well as that, can someone help me change the text on the Single product page to ‘BUY’ and on the category page too ‘View Product’.

    #79374
    patrickcb
    Member
    Post count: 35

    My website is: http://www.subgrown.co

    Due to the coding error, it’s not letting me log new people into the site so I can’t give you those details I’m afraid.

    #79500
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit wp-config.php at wordpress root installation and find this code
    define( 'WP_DEBUG', true ); change with define( 'WP_DEBUG', false );.

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #79638
    patrickcb
    Member
    Post count: 35

    Hi Mohammad,

    That line is already set as:

    define( 'WP_DEBUG', false );

    Like you had suggested, any other ideas?

    #79640
    patrickcb
    Member
    Post count: 35

    I also get this error when I try to update a product:

    
    Warning: Cannot modify header information - headers already sent by (output started at /websites/123reg/LinuxPackage21/su/bg/ro/subgrown.co/public_html/wp-content/themes/neighborhood_v1.72/neighborhood/functions.php:1) in /websites/123reg/LinuxPackage21/su/bg/ro/subgrown.co/public_html/wp-admin/post.php on line 235
    #79689
    Mohammad – SUPPORT
    Moderator
    Post count: 27441
    This reply has been marked as private.
    #79870
    patrickcb
    Member
    Post count: 35
    This reply has been marked as private.
    #79872
    patrickcb
    Member
    Post count: 35
    This reply has been marked as private.
    #79873
    Mohammad – SUPPORT
    Moderator
    Post count: 27441
    This reply has been marked as private.
    #79876
    patrickcb
    Member
    Post count: 35

    I copied that straight from my control panel? Must be correct

    #79878
    patrickcb
    Member
    Post count: 35
    This reply has been marked as private.
    #79879
    patrickcb
    Member
    Post count: 35
    This reply has been marked as private.
    #79911
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I just fixed issue by replacing new functions.php .
    Thanks

    #79919
    patrickcb
    Member
    Post count: 35

    Thanks so much

    #79920
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome . I’m glad that issue resolved .
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register