Hi there
This may be a theme compatibility issue. Could you take a look at this Github issue and let us know what theme you’re using?
https://github.com/Automattic/sensei/issues/2754
Hello Dan,
Thanks for replying! I am using Elementor Pro and Hello Elementor theme, it’s an empty test site.
There is no where for me to add that code since Elementor should take over single and archive templates in general. If Sensei is not supported with Elementor I could add that code to Sensei template files and this problem will be fixed?
Thanks
Right, thank you very much Dan.
Hello again Dan, this error just started up again when I go on the course archive page.
I get these errors:
[11-Mar-2020 16:10:24 UTC] PHP Notice: Trying to get property 'ID' of non-object in /home/brigitte/public_html/dev.brigittesarfati-app.com/wp-content/plugins/sensei-lms/includes/unsupported-theme-handlers/class-sensei-unsupported-theme-handler-page-imitator.php on line 247
[11-Mar-2020 16:10:24 UTC] PHP Notice: Undefined property: WP_Post_Type::$ID in /home/brigitte/public_html/dev.brigittesarfati-app.com/wp-includes/class-wp-query.php on line 3965
[11-Mar-2020 16:10:24 UTC] PHP Notice: Undefined property: WP_Post_Type::$post_title in /home/brigitte/public_html/dev.brigittesarfati-app.com/wp-includes/class-wp-query.php on line 3967
[11-Mar-2020 16:10:24 UTC] PHP Notice: Undefined property: WP_Post_Type::$post_name in /home/brigitte/public_html/dev.brigittesarfati-app.com/wp-includes/class-wp-query.php on line 3969
[11-Mar-2020 16:10:24 UTC] PHP Notice: Undefined property: WP_Post_Type::$ID in /home/brigitte/public_html/dev.brigittesarfati-app.com/wp-includes/class-wp-query.php on line 3965
[11-Mar-2020 16:10:24 UTC] PHP Notice: Undefined property: WP_Post_Type::$post_title in /home/brigitte/public_html/dev.brigittesarfati-app.com/wp-includes/class-wp-query.php on line 3967
[11-Mar-2020 16:10:24 UTC] PHP Notice: Undefined property: WP_Post_Type::$post_name in /home/brigitte/public_html/dev.brigittesarfati-app.com/wp-includes/class-wp-query.php on line 3969
I think this is related to another issue I have with Sensei that it doesn’t seem to be able to progress from Lesson 1 to Lesson 2.
I even tried to copy the entire function output_content_as_page to make sure I have the exact function.
Could you help please?
-
This reply was modified 6 years, 2 months ago by
Oded Talmon.
I’m attaching screenshots of the issue i’m having and I think it’s related.
https://ibb.co/7Jcc54Y
https://ibb.co/V2yypPd
https://ibb.co/njwDXLg
The Complete course button doesn’t take me from Lesson 1 to Lesson 2.