LearnPress 4.1.4.1

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

Summary

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

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

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

Environment
WordPress version5.8.3
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=e7e75fb83e
Aspect after-activation
HTTP status 200
Load time 7.624 s
Memory usage 5.62 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.447 s
Memory usage 7.74 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.271 s
Memory usage 7.74 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.271 s
Memory usage 7.74 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.268 s
Memory usage 7.74 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.302 s
Memory usage 7.74 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.278 s
Memory usage 7.74 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.350 s
Memory usage 7.74 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.380 s
Memory usage 7.74 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.262 s
Memory usage 7.74 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.242 s
Memory usage 7.74 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.454 s
Memory usage 7.74 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.284 s
Memory usage 7.74 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.203 s
Memory usage 7.74 MiB
JS errors None
Resource errors None

LearnPress → Add-ons → Themes (29)

Page screenshot: LearnPress → Add-ons → Themes (29)
URL /wp-admin/admin.php?page=learn-press-addons&tab=themes
Aspect menu-item-tab
HTTP status 200
Load time 0.545 s
Memory usage 7.74 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.347 s
Memory usage 7.74 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.350 s
Memory usage 7.74 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.281 s
Memory usage 7.74 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.281 s
Memory usage 7.74 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.297 s
Memory usage 7.74 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.290 s
Memory usage 7.74 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.485 s
Memory usage 7.74 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.511 s
Memory usage 7.74 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.477 s
Memory usage 7.74 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.296 s
Memory usage 5.09 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.731 s
Memory usage 7.74 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.879 s
Memory usage 8.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.284 s0.485 s+0.201 s3.08 MiB7.74 MiB+ 4.66 MiB
/wp-admin/edit.php0.174 s0.280 s+0.106 s3.11 MiB7.74 MiB+ 4.63 MiB
/wp-admin/post-new.php0.734 s1.027 s+0.293 s5.27 MiB10.45 MiB+ 5.18 MiB
/wp-admin/upload.php0.368 s0.491 s+0.123 s3.03 MiB7.74 MiB+ 4.71 MiB
/wp-admin/options-writing.php0.267 s0.350 s+0.083 s3.02 MiB7.74 MiB+ 4.71 MiB
/wp-admin/media-new.php0.308 s0.292 s-0.016 s3.01 MiB7.74 MiB+ 4.73 MiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.277 s+0.098 s3.04 MiB7.74 MiB+ 4.7 MiB
/wp-admin/post-new.php?post_type=page0.570 s0.968 s+0.398 s5.26 MiB10.44 MiB+ 5.18 MiB
/wp-admin/options-discussion.php0.237 s0.371 s+0.134 s3 MiB7.74 MiB+ 4.73 MiB
/wp-admin/edit-comments.php0.205 s0.376 s+0.171 s3.04 MiB7.74 MiB+ 4.7 MiB
/0.411 s0.232 s-0.179 s2.96 MiB5.05 MiB+ 2.09 MiB
Average 0.340 s0.468 s+0.128 s3.44 MiB7.99 MiB+ 4.55 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP64.7%70,86331,968624
CSS13.7%14,9902036
JavaScript10.9%11,886635147
PO File6.8%7,4344,9742
XML3.9%4,22803
Markdown0.1%11201
JSON0.0%2101
Total 109,534 37,780 784

PHP Code Analysis | More results »

Lines of code 60,268
Total complexity 12,346
Median class complexity 14.0
Median method complexity 2.0
Most complex class LP_User_Item_Course
Most complex function LP_REST_Jwt_Posts_Controller::prepare_item_for_database()
Classes 303
Methods 3,143
Functions 685

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 46

User Metadata wp_usermeta 1

Custom Post Types 5

ID Name
lp_courseCourses
lp_lessonLessons
lp_quizQuizzes
lp_questionQuestion Bank
lp_orderOrders

Sidebar Widgets 6

ID Name
learnpress_widget_course_extraLearnPress - Course Extra
learnpress_widget_course_infoLearnPress - Course Info
learnpress_widget_course_progressLearnPress - Course Progress
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 1 lines

[06-Jan-2022 23:25:45 UTC] WordPress database error Table 'wordpress.wp_learnpress_order_items' doesn't exist for query SHOW COLUMNS FROM wp_learnpress_order_items LIKE 'item_id' made by require_once('wp-admin/admin-header.php'), do_action('admin_notices'), WP_Hook->do_action, WP_Hook->apply_filters, LP_Updater->check_update_database_message, LP_Updater->check_lp_db_need_upgrade, LP_Database->check_col_table
See also: All tests for this plugin, How to Hide LearnPress Admin Menus and More