LearnPress 4.0.9

Does LearnPress work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
25Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 4.52 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.124 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 90,000+
WordPress.org page https://wordpress.org/plugins/learnpress/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 27

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=learnpress%2Flearnpress.php&plugin_status=all&paged=1&s&_wpnonce=9e72d6ca3a
Aspect after-activation
HTTP status 200
Load time 10.189 s
Memory usage 5.43 MiB
JS errors None
Resource errors None

LearnPress

Page screenshot: LearnPress
URL /wp-admin/edit.php?post_type=lp_course
Aspect menu-item
HTTP status 200
Load time 0.584 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Categories

Page screenshot: LearnPress → Categories
URL /wp-admin/edit-tags.php?taxonomy=course_category&post_type=lp_course
Aspect menu-item-tab
HTTP status 200
Load time 0.357 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Tags

Page screenshot: LearnPress → Tags
URL /wp-admin/edit-tags.php?taxonomy=course_tag&post_type=lp_course
Aspect menu-item-tab
HTTP status 200
Load time 0.267 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Lessons

Page screenshot: LearnPress → Lessons
URL /wp-admin/edit.php?post_type=lp_lesson
Aspect menu-item
HTTP status 200
Load time 0.467 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Quizzes

Page screenshot: LearnPress → Quizzes
URL /wp-admin/edit.php?post_type=lp_quiz
Aspect menu-item
HTTP status 200
Load time 0.307 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Questions

Page screenshot: LearnPress → Questions
URL /wp-admin/edit.php?post_type=lp_question
Aspect menu-item
HTTP status 200
Load time 0.299 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Orders

Page screenshot: LearnPress → Orders
URL /wp-admin/edit.php?post_type=lp_order
Aspect menu-item
HTTP status 200
Load time 0.382 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Statistics

Page screenshot: LearnPress → Statistics
URL /wp-admin/admin.php?page=learn-press-statistics
Aspect menu-item
HTTP status 200
Load time 0.369 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Statistics → Users

Page screenshot: LearnPress → Statistics → Users
URL /wp-admin/admin.php?page=learn-press-statistics&tab=users
Aspect menu-item-tab
HTTP status 200
Load time 0.487 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Statistics → Courses

Page screenshot: LearnPress → Statistics → Courses
URL /wp-admin/admin.php?page=learn-press-statistics&tab=courses
Aspect menu-item-tab
HTTP status 200
Load time 0.377 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Statistics → Orders

Page screenshot: LearnPress → Statistics → Orders
URL /wp-admin/admin.php?page=learn-press-statistics&tab=orders
Aspect menu-item-tab
HTTP status 200
Load time 0.294 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Add-ons

Page screenshot: LearnPress → Add-ons
URL /wp-admin/admin.php?page=learn-press-addons
Aspect menu-item
HTTP status 200
Load time 0.653 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Add-ons → Installed (0)

Page screenshot: LearnPress → Add-ons → Installed (0)
URL /wp-admin/admin.php?page=learn-press-addons&tab=installed
Aspect menu-item-tab
HTTP status 200
Load time 0.219 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Add-ons → Themes (28)

Page screenshot: LearnPress → Add-ons → Themes (28)
URL /wp-admin/admin.php?page=learn-press-addons&tab=themes
Aspect menu-item-tab
HTTP status 200
Load time 0.597 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Settings

Page screenshot: LearnPress → Settings
URL /wp-admin/admin.php?page=learn-press-settings
Aspect menu-item
HTTP status 200
Load time 0.412 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Settings → Courses

Page screenshot: LearnPress → Settings → Courses
URL /wp-admin/admin.php?page=learn-press-settings&tab=courses
Aspect menu-item-tab
HTTP status 200
Load time 0.333 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Settings → Profile

Page screenshot: LearnPress → Settings → Profile
URL /wp-admin/admin.php?page=learn-press-settings&tab=profile
Aspect menu-item-tab
HTTP status 200
Load time 0.453 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Settings → Payments

Page screenshot: LearnPress → Settings → Payments
URL /wp-admin/admin.php?page=learn-press-settings&tab=payments
Aspect menu-item-tab
HTTP status 200
Load time 0.309 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Settings → Emails

Page screenshot: LearnPress → Settings → Emails
URL /wp-admin/admin.php?page=learn-press-settings&tab=emails
Aspect menu-item-tab
HTTP status 200
Load time 0.368 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Settings → Advanced

Page screenshot: LearnPress → Settings → Advanced
URL /wp-admin/admin.php?page=learn-press-settings&tab=advanced
Aspect menu-item-tab
HTTP status 200
Load time 0.293 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Tools

Page screenshot: LearnPress → Tools
URL /wp-admin/admin.php?page=learn-press-tools
Aspect menu-item
HTTP status 200
Load time 0.527 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Tools → Database

Page screenshot: LearnPress → Tools → Database
URL /wp-admin/admin.php?page=learn-press-tools&tab=database
Aspect menu-item-tab
HTTP status 200
Load time 0.676 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

LearnPress → Tools → Templates

Page screenshot: LearnPress → Tools → Templates
URL /wp-admin/admin.php?page=learn-press-tools&tab=template
Aspect menu-item-tab
HTTP status 200
Load time 0.386 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.354 s
Memory usage 4.95 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.364 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.116 s
Memory usage 7.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.263 s0.447 s+0.184 s2.82 MiB7.61 MiB+ 4.79 MiB
/wp-admin/edit.php0.187 s0.312 s+0.125 s2.86 MiB7.61 MiB+ 4.74 MiB
/wp-admin/post-new.php0.883 s1.380 s+0.497 s5.02 MiB9.31 MiB+ 4.28 MiB
/wp-admin/upload.php0.451 s0.752 s+0.301 s2.7 MiB7.61 MiB+ 4.91 MiB
/wp-admin/options-writing.php0.262 s0.290 s+0.028 s2.71 MiB7.61 MiB+ 4.9 MiB
/wp-admin/media-new.php0.219 s0.321 s+0.102 s2.67 MiB7.61 MiB+ 4.93 MiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.270 s+0.079 s2.77 MiB7.61 MiB+ 4.84 MiB
/wp-admin/post-new.php?post_type=page1.114 s0.960 s-0.154 s5.01 MiB9.28 MiB+ 4.28 MiB
/wp-admin/options-discussion.php0.293 s0.322 s+0.029 s2.67 MiB7.61 MiB+ 4.93 MiB
/wp-admin/edit-comments.php0.249 s0.446 s+0.197 s2.78 MiB7.61 MiB+ 4.83 MiB
/0.252 s0.233 s-0.019 s2.65 MiB4.91 MiB+ 2.26 MiB
Average 0.397 s0.521 s+0.124 s3.15 MiB7.67 MiB+ 4.52 MiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
PO File
CSS
Language % Lines of code Comment lines Files
PHP48.8%72,05226,464610
PO File30.8%45,47427,07916
CSS9.8%14,4332005
JavaScript7.7%11,436581144
XML2.9%4,32603
Total 147,721 54,324 778

PHP Code Analysis | More results »

Lines of code 61,247
Total complexity 12,582
Median class complexity 15.0
Median method complexity 2.0
Most complex class LP_Abstract_User
Most complex function LP_Meta_Box_Helper::save_fields()
Classes 290
Methods 3,214
Functions 699

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 12

Options wp_options 47

User Metadata wp_usermeta 1

Custom Post Types 5

ID Name
lp_courseCourses
lp_lessonLessons
lp_quizQuizzes
lp_questionQuestion Bank
lp_orderOrders

Sidebar Widgets 7

ID Name
learnpress_widget_course_extraLearnPress - Course Extra
learnpress_widget_course_infoLearnPress - Course Info
learnpress_widget_course_progressLearnPress - Course Progress
learnpress_widget_course_sidebar_previewLearnPress - Course Sidebar Preview
learnpress_widget_course_featuredLearnPress - Featured Courses
learnpress_widget_course_popularLearnPress - Popular Courses
learnpress_widget_course_recentLearnPress - Recent Courses

Meta Boxes

{
    "dashboard": {
        "learn_press_dashboard_order_statuses": {
            "title": "LearnPress order status",
            "context": "normal"
        },
        "learn_press_dashboard_plugin_status": {
            "title": "LearnPress status",
            "context": "normal"
        }
    },
    "lp_course": {
        "course-settings": {
            "title": "Course Settings",
            "context": "normal"
        }
    },
    "lp_quiz": {
        "quiz_settings": {
            "title": "Quiz Settings",
            "context": "normal"
        }
    },
    "lp_lesson": {
        "lesson_settings": {
            "title": "Lesson Settings",
            "context": "normal"
        }
    },
    "lp_question": {
        "question_settings": {
            "title": "Question Settings",
            "context": "normal"
        }
    }
}

Roles 1

ID Name
lp_teacherLP Instructor

Capabilities 29

PHP Error Log 193 lines

[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id
				INNER JOIN wp_posts c ON c.ID = s.section_course_id
				INNER JOIN wp_posts it ON it.ID = si.item_id
				WHERE s.section_course_id = 38 AND c.post_status = 'publish'
					AND it.post_status = 'publish'  GROUP BY it.post_type  made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Install::do_install, LP_Install::install, LP_Install::_create_pages, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Repair_Database->save_post, LP_Repair_Database->sync_course_data, LP_Course_CURD->count_items
[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id
				INNER JOIN wp_posts c ON c.ID = s.section_course_id
				INNER JOIN wp_posts it ON it.ID = si.item_id
				WHERE s.section_course_id = 36 AND c.post_status = 'publish'
					AND it.post_status = 'publish'  GROUP BY it.post_type  made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Install::do_install, LP_Install::install, LP_Install::_create_pages, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Repair_Database->save_post, LP_Repair_Database->sync_course_data, LP_Course_CURD->count_items
[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id
				INNER JOIN wp_posts c ON c.ID = s.section_course_id
				INNER JOIN wp_posts it ON it.ID = si.item_id
				WHERE s.section_course_id = 37 AND c.post_status = 'publish'
					AND it.post_status = 'publish'  GROUP BY it.post_type  made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Install::do_install, LP_Install::install, LP_Install::_create_pages, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Repair_Database->save_post, LP_Repair_Database->sync_course_data, LP_Course_CURD->count_items
[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id
				INNER JOIN wp_posts c ON c.ID = s.section_course_id
				INNER JOIN wp_posts it ON it.ID = si.item_id
				WHERE s.section_course_id = 35 AND c.post_status = 'publish'
					AND it.post_status = 'publish'  GROUP BY it.post_type  made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Install::do_install, LP_Install::install, LP_Install::_create_pages, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Repair_Database->save_post, LP_Repair_Database->sync_course_data, LP_Course_CURD->count_items
[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id
				INNER JOIN wp_posts c ON c.ID = s.section_course_id
				INNER JOIN wp_posts it ON it.ID = si.item_id
				WHERE s.section_course_id = 39 AND c.post_status = 'publish'
					AND it.post_status = 'publish'  GROUP BY it.post_type  made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Install::do_install, LP_Install::install, LP_Install::_create_pages, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Repair_Database->save_post, LP_Repair_Database->sync_course_data, LP_Course_CURD->count_items
[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id
				INNER JOIN wp_posts c ON c.ID = s.section_course_id
				INNER JOIN wp_posts it ON it.ID = si.item_id
				WHERE s.section_course_id = 40 AND c.post_status = 'publish'
					AND it.post_status = 'publish'  GROUP BY it.post_type  made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Install::do_install, LP_Install::install, LP_Install::_create_pages, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Repair_Database->save_post, LP_Repair_Database->sync_course_data, LP_Course_CURD->count_items
[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id
				INNER JOIN wp_posts c ON c.ID = s.section_course_id
				INNER JOIN wp_posts it ON it.ID = si.item_id
				WHERE s.section_course_id = 41 AND c.post_status = 'publish'
					AND it.post_status = 'publish'  GROUP BY it.post_type  made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Install::do_install, LP_Install::install, LP_Install::_create_pages, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Repair_Database->save_post, LP_Repair_Database->sync_course_data, LP_Course_CURD->count_items
[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id
				INNER JOIN wp_posts c ON c.ID = s.section_course_id
				INNER JOIN wp_posts it ON it.ID = si.item_id
				WHERE s.section_course_id = 42 AND c.post_status = 'publish'
					AND it.post_status = 'publish'  GROUP BY it.post_type  made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Install::do_install, LP_Install::install, LP_Install::_create_pages, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Repair_Database->save_post, LP_Repair_Database->sync_course_data, LP_Course_CURD->count_items
[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id
				INNER JOIN wp_posts c ON c.ID = s.section_course_id
				INNER JOIN wp_posts it ON it.ID = si.item_id
				WHERE s.section_course_id = 43 AND c.post_status = 'publish'
					AND it.post_status = 'publish'  GROUP BY it.post_type  made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Install::do_install, LP_Install::install, LP_Install::_create_pages, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Repair_Database->save_post, LP_Repair_Database->sync_course_data, LP_Course_CURD->count_items
[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id
				INNER JOIN wp_posts c ON c.ID = s.section_course_id
				INNER JOIN wp_posts it ON it.ID = si.item_id
				WHERE s.section_course_id = 44 AND c.post_status = 'publish'
					AND it.post_status = 'publish'  GROUP BY it.post_type  made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Install::do_install, LP_Install::install, LP_Install::_create_pages, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Repair_Database->save_post, LP_Repair_Database->sync_course_data, LP_Course_CURD->count_items
[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id
				INNER JOIN wp_posts c ON c.ID = s.section_course_id
				INNER JOIN wp_posts it ON it.ID = si.item_id
				WHERE s.section_course_id = 45 AND c.post_status = 'publish'
					AND it.post_status = 'publish'  GROUP BY it.post_type  made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Install::do_install, LP_Install::install, LP_Install::_create_pages, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Repair_Database->save_post, LP_Repair_Database->sync_course_data, LP_Course_CURD->count_items
[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id
				INNER JOIN wp_posts c ON c.ID = s.section_course_id
				INNER JOIN wp_posts it ON it.ID = si.item_id
				WHERE s.section_course_id = 46 AND c.post_status = 'publish'
					AND it.post_status = 'publish'  GROUP BY it.post_type  made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Install::do_install, LP_Install::install, LP_Install::_create_pages, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Repair_Database->save_post, LP_Repair_Database->sync_course_data, LP_Course_CURD->count_items
[22-Jun-2021 02:19:54 UTC] WordPress database error Table 'wordpress.wp_learnpress_section_items' doesn't exist for query 
				SELECT COUNT(it.ID) `count`, it.post_type
				FROM wp_learnpress_section_items si
				INNER JOIN wp_learnpress_sections s ON si.section_id = s.section_id

(+93 more lines)
See also: All tests for this plugin, How to Hide LearnPress Admin Menus and More