LearnPress 4.2.6.9

Does LearnPress work with WordPress 6.6.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
5JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.6.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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 30

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=78ef47299c
Aspect after-activation
HTTP status 200
Load time 1.092 s
Memory usage 4.77 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.377 s
Memory usage 4.59 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'querySelector')\n    at /wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56501\n    at /wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56635\n    at HTMLDocument.<anonymous> (/wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56639)",
        "trace": null,
        "code": null
    }
]
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.281 s
Memory usage 4.59 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'querySelector')\n    at /wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56501\n    at /wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56635\n    at HTMLDocument.<anonymous> (/wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56639)",
        "trace": null,
        "code": null
    }
]
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.303 s
Memory usage 4.59 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'querySelector')\n    at /wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56501\n    at /wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56635\n    at HTMLDocument.<anonymous> (/wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56639)",
        "trace": null,
        "code": null
    }
]
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.283 s
Memory usage 4.6 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'querySelector')\n    at /wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56501\n    at /wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56635\n    at HTMLDocument.<anonymous> (/wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56639)",
        "trace": null,
        "code": null
    }
]
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.292 s
Memory usage 4.6 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'querySelector')\n    at /wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56501\n    at /wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56635\n    at HTMLDocument.<anonymous> (/wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.9:1:56639)",
        "trace": null,
        "code": null
    }
]
Resource errors None

LearnPress → Categories

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

LearnPress → Tags

Page screenshot: LearnPress → Tags
URL /wp-admin/edit-tags.php?taxonomy=course_tag
Aspect menu-item
HTTP status 200
Load time 0.232 s
Memory usage 4.49 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.530 s
Memory usage 4.52 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.295 s
Memory usage 4.52 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.278 s
Memory usage 4.52 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.307 s
Memory usage 4.52 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.302 s
Memory usage 4.49 MiB
JS errors None
Resource errors None

LearnPress → Themes

Page screenshot: LearnPress → Themes
URL /wp-admin/admin.php?page=learn-press-themes
Aspect menu-item
HTTP status 200
Load time 2.302 s
Memory usage 8.77 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.446 s
Memory usage 4.73 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.336 s
Memory usage 4.56 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.280 s
Memory usage 4.52 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.300 s
Memory usage 4.63 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.495 s
Memory usage 4.59 MiB
JS errors None
Resource errors None

LearnPress → Settings → Permalinks

Page screenshot: LearnPress → Settings → Permalinks
URL /wp-admin/admin.php?page=learn-press-settings&tab=permalink
Aspect menu-item-tab
HTTP status 200
Load time 0.439 s
Memory usage 4.54 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.309 s
Memory usage 4.51 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.630 s
Memory usage 4.55 MiB
JS errors None
Resource errors None

LearnPress → Tools → Assign/Unassigned Course

Page screenshot: LearnPress → Tools → Assign/Unassigned Course
URL /wp-admin/admin.php?page=learn-press-tools&tab=assign_course
Aspect menu-item-tab
HTTP status 200
Load time 0.485 s
Memory usage 4.52 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.331 s
Memory usage 4.52 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.316 s
Memory usage 4.53 MiB
JS errors None
Resource errors None

LearnPress → Tools → LearnPress Beta Version

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

LearnPress → Tools → Cache

Page screenshot: LearnPress → Tools → Cache
URL /wp-admin/admin.php?page=learn-press-tools&tab=cache
Aspect menu-item-tab
HTTP status 200
Load time 0.334 s
Memory usage 4.5 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.301 s
Memory usage 4.35 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.592 s
Memory usage 4.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 3.293 s
Memory usage 7.24 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.345 s0.695 s+0.350 s3.47 MiB4.61 MiB+ 1.13 MiB
/wp-admin/edit.php0.219 s0.352 s+0.133 s3.54 MiB4.63 MiB+ 1.09 MiB
/wp-admin/post-new.php0.796 s1.140 s+0.344 s5.75 MiB7.48 MiB+ 1.73 MiB
/wp-admin/upload.php0.686 s0.420 s-0.266 s3.49 MiB4.53 MiB+ 1.04 MiB
/wp-admin/options-writing.php0.213 s0.268 s+0.055 s3.41 MiB4.49 MiB+ 1.08 MiB
/wp-admin/media-new.php0.250 s0.295 s+0.045 s3.4 MiB4.49 MiB+ 1.09 MiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.367 s+0.162 s3.47 MiB4.54 MiB+ 1.07 MiB
/wp-admin/post-new.php?post_type=page0.693 s1.303 s+0.610 s5.75 MiB7.43 MiB+ 1.68 MiB
/wp-admin/options-discussion.php0.462 s0.372 s-0.090 s3.41 MiB4.49 MiB+ 1.08 MiB
/wp-admin/edit-comments.php0.215 s0.339 s+0.124 s3.49 MiB4.55 MiB+ 1.06 MiB
/0.313 s0.296 s-0.017 s3.45 MiB4.35 MiB+ 918.44 KiB
Average 0.400 s0.532 s+0.132 s3.88 MiB5.05 MiB+ 1.18 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
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP50.9%79,52531,617761
CSS20.7%32,26433718
PO File16.0%24,90216,0196
JavaScript9.6%14,9951,054175
XML2.7%4,22803
Markdown0.1%11201
JSON0.0%6105
SVG0.0%909
HTML0.0%4144
Total 156,100 49,041 982

PHP Code Analysis | More results »

Lines of code 64,528
Total complexity 12,448
Median class complexity 11.0
Median method complexity 2.0
Most complex class LP_Jwt_Courses_V1_Controller
Most complex function LP_REST_Jwt_Posts_Controller::prepare_item_for_database()
Classes 386
Methods 3,337
Functions 508

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 14

Options wp_options 20

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_featuredLearnPress - Featured Courses
learnpress_widget_course_popularLearnPress - Popular Courses
learnpress_widget_course_recentLearnPress - Recent Courses
learnpress_widget_course_filterLearnPress - Course Filter

Meta Boxes

{
    "dashboard": {
        "learn_press_dashboard_order_statuses": {
            "title": "LearnPress order status",
            "context": "normal"
        }
    },
    "lp_course": {
        "course-editor": {
            "title": "Curriculum",
            "context": "normal"
        },
        "course-settings": {
            "title": "Course Settings",
            "context": "normal"
        }
    },
    "lp_lesson": {
        "lesson_assigned": {
            "title": "Assigned",
            "context": "side"
        },
        "lesson_settings": {
            "title": "Lesson Settings",
            "context": "normal"
        }
    },
    "lp_quiz": {
        "quiz_assigned": {
            "title": "Assigned",
            "context": "side"
        },
        "quiz-editor": {
            "title": "Questions",
            "context": "normal"
        },
        "quiz_settings": {
            "title": "Quiz Settings",
            "context": "normal"
        }
    },
    "lp_question": {
        "question_assigned": {
            "title": "Assigned",
            "context": "side"
        },
        "question-editor": {
            "title": "Answer Options",
            "context": "normal"
        },
        "question_settings": {
            "title": "Question Settings",
            "context": "normal"
        }
    },
    "lp_order": {
        "order_details": {
            "title": "Order Details",
            "context": "normal"
        },
        "submitdiv": {
            "title": "Order Actions",
            "context": "side"
        },
        "order_exports": {
            "title": "Order Exports",
            "context": "side"
        }
    }
}

Roles 1

ID Name
lp_teacherLP Instructor

Capabilities 29

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide LearnPress Admin Menus and More