Hi,
You can try to remove the shortcode in that page then go to LearnPress -> Settings -> set the profile page on settings and recheck.
Thanks
Does not change the appearance.
I removed the shortcode and checked the page, no change.
I created a new page in the Settings, no change
I also tried by disabling all other plugins except LearnPress, no change.
Normally looks like this: https://vakin.norrlandsit.se/wp-content/uploads/2021/10/image1-course.png
The Profilepage: https://vakin.norrlandsit.se/wp-content/uploads/2021/10/image1-profile.png
-
This reply was modified 4 years, 7 months ago by
Richard.
-
This reply was modified 4 years, 7 months ago by
Richard.
Did you override our template? We see have some blocks not have in the default of LearnPress on your site.
Thanks
No overwriting, using the default
Been testing now and it seems to be an issue with the Divi theme. Never had this problem before, seems to have shown up from version 4 of LearnPress
Hi,
LearnPress 4 change a lot of function and template so I think maybe have a conflict with the Divi Theme, I will discuss with our developer team to check it.
Thanks
Hi all,
I’ve the same error on my site with LearnPress v. 4.1.4 and Divi Theme.
The problem is the function lp_add_shortcode_profile() in
wp-content\plugins\learnpress\inc\lp-core-functions.php (3809)
The function wp_update_post() must be triggered only if page has not the shortcode
function lp_add_shortcode_profile() {
global $post;
if ( learn_press_is_profile() && is_object( $post ) ) {
if ( ! has_shortcode( $post->post_content, 'learn_press_profile' ) ) {
$post->post_content .= '<!-- wp:shortcode -->[' . apply_filters( 'learn-press/shortcode/profile/tag', 'learn_press_profile' ) . ']<!-- /wp:shortcode -->';
wp_update_post( $post );
}
}
}
Hi guys any update on this. I also have this issue on a client corporate site. Rather high priority to get fixed