-
Author
-
December 4, 2016 at 08:53 #145984jwchameleoncorpParticipant
Hello,
When I upload a cover photo, it does not save. See video of what happens:
Any idea what might be wrong?
Thanks!
December 5, 2016 at 04:10 #146049jwchameleoncorpParticipant***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.
December 5, 2016 at 21:56 #146123LauraModeratorHello, 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 solutionLaura 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 🙂
December 5, 2016 at 22:27 #146128jwchameleoncorpParticipantHi @laura
No it is not resolved. I’m not sure where to look for this in order to trouble shoot.
Any ideas?
December 7, 2016 at 02:40 #146270LauraModeratorHello, 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 solutionLaura 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 🙂
December 8, 2016 at 11:05 #146414LauraModeratorHello, 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 solutionLaura 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 🙂
December 8, 2016 at 18:51 #146453RaduModeratorHi,
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 CODEdefine( 'WP_DEBUG', true );
- After this line add this:
COPY CODEdefine( '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 solutionDecember 10, 2016 at 00:32 #146614jwchameleoncorpParticipantHi @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! UseCOPY 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! UseCOPY 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! UseCOPY 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! UseCOPY 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! UseCOPY 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! UseCOPY 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! UseCOPY 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! UseCOPY 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! UseCOPY 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! UseCOPY 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! UseCOPY 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! UseCOPY 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! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
December 12, 2016 at 01:40 #146685jwchameleoncorpParticipantHi @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.
December 12, 2016 at 17:58 #146780RaduModeratorHi,
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 solutionDecember 12, 2016 at 19:36 #146791RaduModeratorHi,
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
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 13, 2016 at 10:02 #146884jwchameleoncorpParticipantHi @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.December 13, 2016 at 18:31 #146922RaduModeratorI 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 solutionDecember 16, 2016 at 00:50 #147185jwchameleoncorpParticipantHi @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]‘);
}
}
*/December 16, 2016 at 19:52 #147290RaduModeratorHi,
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 solutionDecember 18, 2016 at 05:24 #147355jwchameleoncorpParticipantHi @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!
December 21, 2016 at 19:42 #147714RaduModeratorHi,
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 solutionDecember 22, 2016 at 23:54 #147837jwchameleoncorpParticipantHi @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.
December 24, 2016 at 03:49 #147931jwchameleoncorpParticipantSweeeet! Thanks Radu!
You think we could fix that child theme bug, in a future Kleo update?
Have a great weekend and Merry Christmas!
Cheers.
December 27, 2016 at 13:25 #148067RaduModeratorHi,
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 solutionDecember 27, 2016 at 19:41 #148120jwchameleoncorpParticipantHmmm…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.
December 28, 2016 at 15:25 #148199RaduModeratorI 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 -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.