This topic has 28 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #145984
     jwchameleoncorp
    Participant

    Hello,

    When I upload a cover photo, it does not save. See video of what happens:

    http://somup.com/cDlf1mdYp

    Any idea what might be wrong?

    Thanks!

    #146049
     jwchameleoncorp
    Participant

    ***PLEASE READ MY LAST REPLY FIRST***

    -UPDATE-

    I activated the Kleo Parent Theme and the Cover Photo works. So maybe the issue is caused by some customization we’ve done with the Child Theme?

    Waiting for your reply.

    Cheers.

    #146123
     Laura
    Moderator

    Hello, it could be, is it resolve then? 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #146128
     jwchameleoncorp
    Participant

    Hi @laura

    No it is not resolved. I’m not sure where to look for this in order to trouble shoot.

    Any ideas?

    #146270
     Laura
    Moderator

    Hello, please share access so i can take a look 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #146271
     jwchameleoncorp
    Participant
    This reply has been set as private.
    #146272
     jwchameleoncorp
    Participant
    This reply has been set as private.
    #146414
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #146453
     Radu
    Moderator

    Hi,

    If the photo upload works when you de-activate child theme it means that some PHP code of some file from the theme can cause that.

    I recommend you to have wp_debug and wp_debug_log enabled when you do this action, in this way we can see if there appears any error.

    Steps to enable wp debug:

    •  Connect to your server by FTP
    • Look in root directory of your WordPress install and open wp-config.php
    • Search for define( ‘WP_DEBUG’, false ); and change FALSE value to TRUE
    COPY CODE
    define( 'WP_DEBUG', true );
    
    •   After this line add this:
    COPY CODE
    define( 'WP_DEBUG_LOG', true );
    

    WP_DEBUG_LOG is a companion to WP_DEBUG that causes all errors to also be saved to a debug.log log file inside the /wp-content/ directory. This is useful if you want to review all notices later or need to view notices generated off-screen (e.g. during an AJAX request or wp-cron run).

    Repeat the described actions and then check the debug.log file and let me know what error appears.

    If this is useless please try to deactivate additional plugins except Visual Composer, K-elements, BuddyPress, Paid memberships pro and revolution slider.

    After you have disabled the plugins try to see if the error persists.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #146614
     jwchameleoncorp
    Participant

    Hi @radu

    I activated Kleo Parent Theme and the issue DOES NOT happen.

    I followed your instructions for the DEBUG and copied the log. Here is what it said when the Child Theme is activated, and I tried to upload the picture again (see below.) I don’t know if any of that makes sense to you? Waiting for your reply. Cheers and thanks for the help.

    [09-Dec-2016 22:24:15 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:24:20 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:24:23 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:24:23 UTC] PHP Notice: Undefined index: redirect_to in /home/swiftbus/public_html/5firemen.com/wp-content/plugins/pmpro-cpt/pmpro-cpt.php on line 24
    [09-Dec-2016 22:24:23 UTC] PHP Notice: WP_Admin_Bar::add_node was called incorrectly. The menu ID should not be empty. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 4091
    [09-Dec-2016 22:24:25 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:24:25 UTC] PHP Notice: Undefined index: redirect_to in /home/swiftbus/public_html/5firemen.com/wp-content/plugins/pmpro-cpt/pmpro-cpt.php on line 24
    [09-Dec-2016 22:24:26 UTC] PHP Notice: WP_Admin_Bar::add_node was called incorrectly. The menu ID should not be empty. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 4091
    [09-Dec-2016 22:24:35 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:24:48 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:24:55 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:25:09 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:25:10 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:25:15 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:25:16 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:25:16 UTC] PHP Notice: Undefined index: redirect_to in /home/swiftbus/public_html/5firemen.com/wp-content/plugins/pmpro-cpt/pmpro-cpt.php on line 24
    [09-Dec-2016 22:25:17 UTC] PHP Notice: WP_Admin_Bar::add_node was called incorrectly. The menu ID should not be empty. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 4091
    [09-Dec-2016 22:25:35 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:25:36 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
    [09-Dec-2016 22:25:41 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use

    COPY CODE
    __construct()

    instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846

    #146685
     jwchameleoncorp
    Participant

    Hi @radu

    In addition to my last reply (debugging results) I went through other support tickets to trouble shoot potential conflicts.

    Ticket #140519 had to do with Rocket Lazy Load and uploading a profile photo. So I turned off Rocket Lazy Load, but that did not fix the issue.

    Ticket ##142624 @kieran helped me with some CSS code to turn off status updates. I removed the CSS code, but that did not fix the issue.

    Those are the only two tickets I found which logically could be the issue.

    I’ve also turned off all plugins except BP, but that does not fix the issue.

    However, activating KLEO Parent theme did solve the issue. So the problem is specific to the Child Theme, which makes me think it some coding that we changed in the PHP or CSS files.

    The debug results are in my previous reply.

    Lemme know what you think.

    Cheers.

    #146780
     Radu
    Moderator

    Hi,

    So, that means that something from child theme PHP file or a function located in wp-content/themes/kleo-child/functions.php can cause this, for those should be made some investigations to can figure out what causes this.

    You can try to comment the add_action or add_filter one by one functions having Kleo child theme activated and repeating the cover photo action to see what causes that

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #146785
     jwchameleoncorp
    Participant

    Where do I add the code?

    #146791
     Radu
    Moderator

    Hi,

    My previous answer was referring to this

    However, activating KLEO Parent theme did solve the issue. So the problem is specific to the Child Theme, which makes me think it some coding that we changed in the PHP or CSS files.

    And my advice was to comment every add_action and add_filter from the function file from child to identify if one of the functions causes that.

    No code to add, just to comment add_action,add_filters, those will trigger the function to loaded thru wp core.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #146884
     jwchameleoncorp
    Participant

    Hi @radu

    I’m not sure I understand your instruction, but I added add_action and add_filters to the status update and submitted it. Then I refreshed the page and got the same results. The “Comment” link disappears.

    Waiting for your reply.

    Cheers.

    Attachments:
    You must be logged in to view attached files.
    #146922
     Radu
    Moderator

    I was referring to the functions.php file from the child

    You will have to comment that add_action and add_filter if this exists, in this way those will not run and will not trigger the functions attached to those, in this way you will identify what code causes the comment that disappears after refresh.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #147185
     jwchameleoncorp
    Participant

    Hi @radu

    I researched what you meant by “commenting.” Looks like you meant to add // before each function.

    Below is a copy of the code in my Child function.php file. You can see the changes, however it did not fix the issue. Let me know if I need to do something different.

    Cheers.

    —————————

    <?php
    /**
    * @package WordPress
    * @subpackage Kleo
    * @author SeventhQueen <themesupport@seventhqueen.com>
    * @since Kleo 1.0
    */

    /**
    * Kleo Child Theme Functions
    * Add custom code below
    */

    /**
    //add_filter( ‘wp’, ‘__deactivate_rocket_lazyload_if_page’ );
    function __deactivate_rocket_lazyload_if_page() {
    if( bp_current_component() ) {
    add_filter( ‘do_rocket_lazyload’, ‘__return_false’ );
    }
    }

    */

    /**
    // Add Carousel to Homepage below breadcrumbs section
    add_action(‘kleo_before_content’,’add_carousel_to_home’);
    function add_carousel_to_home() {
    if ( is_page(‘home-page-staging’,’home-clone’) ) {
    echo do_shortcode(‘[vc_row equal_height="yes" inner_container="no" vertical_align="yes" padding_top="" padding_bottom="" padding_left="40" padding_right="40" border="bottom" visibility="hidden-xs"][vc_column][vc_carousel posts_query="size:10|order_by:date|post_type:product" autoplay="yes" min_items="4" height="250"][/vc_column][/vc_row]‘);
    }
    }
    */

    #147290
     Radu
    Moderator

    Hi,

    I saw that in first instance can you please try to update the all un-updated plugins from wp-admin -> appearance -> install plugins after this try again, if it’s the same provide FTP details ti can take a closer look

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #147297
     jwchameleoncorp
    Participant
    This reply has been set as private.
    #147355
     jwchameleoncorp
    Participant

    Hi @radu

    Update to my last reply (which includes your FTP credentials.)

    I started a support ticket in Buddypress.org/support – https://buddypress.org/support/topic/buddypress-cover-photo-does-not-save/#post-262223

    Take a look and you’ll see that another user had the same problem with their child theme. They found a solution that worked for them. See the code @pare81 shares in his last reply.

    However, I added the code to my child theme functions.php file, but was NOT successful.

    Does any of this make sense to you?

    Cheers!

    #147464
     Radu
    Moderator
    This reply has been set as private.
    #147507
     jwchameleoncorp
    Participant
    This reply has been set as private.
    #147714
     Radu
    Moderator

    Hi,

    I’ve noticed that the cover photo does not work because the child theme, give a try by changing theme to parent and check, you can identify the problematic php file from the child by renaming it by prefixing by 123 from example also you can do the same by commenting the actions or/and functions.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #147837
     jwchameleoncorp
    Participant

    Hi @radu

    Yep, as mentioned in the second message in this thread (#146049), I know it’s a child theme issue.

    However, I’m not sure I understand your instructions for solving the issue (prefixing?). I’m doing my best, but understanding code is not my strength.

    Also, see reply 147185 (above). That’s all the code in my child functions.php file. As you can see, per our discussion, I already tried commenting actions or/and functions, but was unsuccessful.

    Can you give a little more guidance please, and I will give it a try.

    Cheer my friend.

    #147838
     Radu
    Moderator
    This reply has been set as private.
    #147931
     jwchameleoncorp
    Participant

    Sweeeet! Thanks Radu!

    You think we could fix that child theme bug, in a future Kleo update?

    Have a great weekend and Merry Christmas!

    Cheers.

    #148067
     Radu
    Moderator

    Hi,

    Normally this folder and files shouldn’t be there, in official Kleo theme pack you don’t have that in child theme.

    Thank you too!Merry Christmas
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #148120
     jwchameleoncorp
    Participant

    Hmmm…then how’d those files get in my Kleo child theme? I installed the one that came with the file download, and I don’t remember adding them. Just trying to figure it out so it doesn’t happen again on another site I create. Cheers my friend.

    #148199
     Radu
    Moderator

    I don’t know how the files get there, maybe a developer that has worked on your website in the past.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 29 posts - 1 through 29 (of 29 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?