SurveyJS 0.5

Does SurveyJS work with WordPress 4.9.6 and PHP 7.0.16? A smoke test was performed on .

Summary

Errors
15PHP notices
12JavaScript exceptions
All test pages loaded successfully
9Resource errors (CSS, JS, images, fonts and so on.)
  • 9 404 Not Found
Performance

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version4.9.6
PHP version7.0.16
MySQL version5.7.17
PHP memory limit256M
Plugin Info
Last updated
Active installs 600+
WordPress.org page https://wordpress.org/plugins/surveyjs/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?error=true&charsout=59&plugin=surveyjs%2Fsurveyjs.php&plugin_status=all&paged=1&s&_error_nonce=22e015a37a
Requested URL /wp-admin/plugins.php?action=activate&plugin=surveyjs%2Fsurveyjs.php&plugin_status=all&paged=1&s&_wpnonce=7062838829
Aspect after-activation
HTTP status 200 OK
Load time 0.115 s
Memory usage 3.1 MiB
JS errors
[
    {
        "message": "TypeError: undefined is not an object (evaluating 'i.ext')",
        "trace": [
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/dataTables.buttons.min.js?ver=4.9.6",
                "line": 5,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/dataTables.buttons.min.js?ver=4.9.6",
                "line": 5,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: undefined is not an object (evaluating 'h.Buttons')",
        "trace": [
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.flash.min.js?ver=4.9.6",
                "line": 23,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.flash.min.js?ver=4.9.6",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: undefined is not an object (evaluating 'p.fileSave=r')",
        "trace": [
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.html5.min.js?ver=4.9.6",
                "line": 8,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.html5.min.js?ver=4.9.6",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: undefined is not an object (evaluating 'i.ext')",
        "trace": [
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.print.min.js?ver=4.9.6",
                "line": 2,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.print.min.js?ver=4.9.6",
                "line": 1,
                "function": ""
            }
        ]
    }
]
Resource errors
[
    {
        "errorCode": 5,
        "errorString": "Operation canceled",
        "status": 404,
        "statusText": "Not Found",
        "url": "[testSite]/wp-content/plugins/surveyjs/libs/datatables/datatables.min.css?ver=4.9.6"
    },
    {
        "errorCode": 5,
        "errorString": "Operation canceled",
        "status": 404,
        "statusText": "Not Found",
        "url": "[testSite]/wp-content/plugins/surveyjs/libs/datatables/datatables.min.js?ver=4.9.6"
    },
    {
        "errorCode": 203,
        "errorString": "Error downloading [testSite]/wp-content/plugins/surveyjs/images/logo_20\u044520.png - server replied: Not Found",
        "status": 404,
        "statusText": "Not Found",
        "url": "[testSite]/wp-content/plugins/surveyjs/images/logo_20%D1%8520.png"
    }
]

SurveyJS

Page screenshot: SurveyJS
URL /wp-admin/admin.php?page=sjs-main-menu
Aspect menu-item
HTTP status 200 OK
Load time 0.071 s
Memory usage 2.99 MiB
JS errors
[
    {
        "message": "TypeError: undefined is not an object (evaluating 'i.ext')",
        "trace": [
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/dataTables.buttons.min.js?ver=4.9.6",
                "line": 5,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/dataTables.buttons.min.js?ver=4.9.6",
                "line": 5,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: undefined is not an object (evaluating 'h.Buttons')",
        "trace": [
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.flash.min.js?ver=4.9.6",
                "line": 23,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.flash.min.js?ver=4.9.6",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: undefined is not an object (evaluating 'p.fileSave=r')",
        "trace": [
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.html5.min.js?ver=4.9.6",
                "line": 8,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.html5.min.js?ver=4.9.6",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: undefined is not an object (evaluating 'i.ext')",
        "trace": [
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.print.min.js?ver=4.9.6",
                "line": 2,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.print.min.js?ver=4.9.6",
                "line": 1,
                "function": ""
            }
        ]
    }
]
Resource errors
[
    {
        "errorCode": 5,
        "errorString": "Operation canceled",
        "status": 404,
        "statusText": "Not Found",
        "url": "[testSite]/wp-content/plugins/surveyjs/libs/datatables/datatables.min.css?ver=4.9.6"
    },
    {
        "errorCode": 5,
        "errorString": "Operation canceled",
        "status": 404,
        "statusText": "Not Found",
        "url": "[testSite]/wp-content/plugins/surveyjs/libs/datatables/datatables.min.js?ver=4.9.6"
    },
    {
        "errorCode": 203,
        "errorString": "Error downloading [testSite]/wp-content/plugins/surveyjs/images/logo_20\u044520.png - server replied: Not Found",
        "status": 404,
        "statusText": "Not Found",
        "url": "[testSite]/wp-content/plugins/surveyjs/images/logo_20%D1%8520.png"
    }
]

SurveyJS → Settings

Page screenshot: SurveyJS → Settings
URL /wp-admin/admin.php?page=sjs-settings
Aspect menu-item
HTTP status 200 OK
Load time 0.056 s
Memory usage 3 MiB
JS errors
[
    {
        "message": "TypeError: undefined is not an object (evaluating 'i.ext')",
        "trace": [
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/dataTables.buttons.min.js?ver=4.9.6",
                "line": 5,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/dataTables.buttons.min.js?ver=4.9.6",
                "line": 5,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: undefined is not an object (evaluating 'h.Buttons')",
        "trace": [
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.flash.min.js?ver=4.9.6",
                "line": 23,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.flash.min.js?ver=4.9.6",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: undefined is not an object (evaluating 'p.fileSave=r')",
        "trace": [
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.html5.min.js?ver=4.9.6",
                "line": 8,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.html5.min.js?ver=4.9.6",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: undefined is not an object (evaluating 'i.ext')",
        "trace": [
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.print.min.js?ver=4.9.6",
                "line": 2,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/surveyjs/libs/datatables/buttons.print.min.js?ver=4.9.6",
                "line": 1,
                "function": ""
            }
        ]
    }
]
Resource errors
[
    {
        "errorCode": 5,
        "errorString": "Operation canceled",
        "status": 404,
        "statusText": "Not Found",
        "url": "[testSite]/wp-content/plugins/surveyjs/libs/datatables/datatables.min.css?ver=4.9.6"
    },
    {
        "errorCode": 5,
        "errorString": "Operation canceled",
        "status": 404,
        "statusText": "Not Found",
        "url": "[testSite]/wp-content/plugins/surveyjs/libs/datatables/datatables.min.js?ver=4.9.6"
    },
    {
        "errorCode": 203,
        "errorString": "Error downloading [testSite]/wp-content/plugins/surveyjs/images/logo_20\u044520.png - server replied: Not Found",
        "status": 404,
        "statusText": "Not Found",
        "url": "[testSite]/wp-content/plugins/surveyjs/images/logo_20%D1%8520.png"
    }
]

Test site – Just another WordPress site

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

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.147 s0.078 s-0.069 s3.09 MiB3.15 MiB+ 60.25 KiB
/wp-admin/edit.php0.136 s0.063 s-0.073 s3.12 MiB3.18 MiB+ 58.04 KiB
/wp-admin/post-new.php0.209 s0.154 s-0.055 s3.19 MiB3.26 MiB+ 78.71 KiB
/wp-admin/upload.php0.138 s0.077 s-0.061 s2.96 MiB3.02 MiB+ 61.79 KiB
/wp-admin/options-writing.php0.083 s0.078 s-0.005 s2.95 MiB3 MiB+ 58.62 KiB
/wp-admin/media-new.php0.071 s0.067 s-0.004 s2.94 MiB3 MiB+ 59.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.122 s0.056 s-0.066 s2.98 MiB3.1 MiB+ 123.29 KiB
/wp-admin/post-new.php?post_type=page0.273 s0.109 s-0.164 s3.19 MiB3.27 MiB+ 78.71 KiB
/wp-admin/options-discussion.php0.109 s0.065 s-0.044 s2.94 MiB3 MiB+ 58.62 KiB
/wp-admin/edit-comments.php0.094 s0.083 s-0.011 s2.98 MiB3.1 MiB+ 123.33 KiB
/0.103 s0.112 s+0.009 s2.73 MiB2.83 MiB+ 101.56 KiB
Average 0.135 s0.086 s-0.049 s3.01 MiB3.08 MiB+ 78.44 KiB

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 2

PHP Error Log 15 lines

[29-May-2018 08:42:59 UTC] PHP Notice:  Undefined variable: current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[29-May-2018 08:42:59 UTC] PHP Notice:  Undefined variable: current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[29-May-2018 08:42:59 UTC] PHP Notice:  Undefined variable: current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[29-May-2018 08:42:59 UTC] PHP Notice:  Undefined variable: current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[29-May-2018 08:42:59 UTC] PHP Notice:  Undefined variable: current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[29-May-2018 08:42:59 UTC] PHP Notice:  Undefined variable: current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[29-May-2018 08:42:59 UTC] PHP Notice:  Undefined variable: current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[29-May-2018 08:43:03 UTC] PHP Notice:  Accessing static property SurveyJS_SurveyJS::$prefix as non static in /wp-content/plugins/surveyjs/initializer.php on line 74
[29-May-2018 08:43:03 UTC] PHP Notice:  Undefined property: SurveyJS_SurveyJS::$prefix in /wp-content/plugins/surveyjs/initializer.php on line 74
[29-May-2018 08:43:03 UTC] PHP Notice:  Accessing static property SurveyJS_SurveyJS::$prefix as non static in /wp-content/plugins/surveyjs/initializer.php on line 75
[29-May-2018 08:43:03 UTC] PHP Notice:  Undefined property: SurveyJS_SurveyJS::$prefix in /wp-content/plugins/surveyjs/initializer.php on line 75
[29-May-2018 08:43:07 UTC] PHP Notice:  Accessing static property SurveyJS_SurveyJS::$prefix as non static in /wp-content/plugins/surveyjs/initializer.php on line 74
[29-May-2018 08:43:07 UTC] PHP Notice:  Undefined property: SurveyJS_SurveyJS::$prefix in /wp-content/plugins/surveyjs/initializer.php on line 74
[29-May-2018 08:43:07 UTC] PHP Notice:  Accessing static property SurveyJS_SurveyJS::$prefix as non static in /wp-content/plugins/surveyjs/initializer.php on line 75
[29-May-2018 08:43:07 UTC] PHP Notice:  Undefined property: SurveyJS_SurveyJS::$prefix in /wp-content/plugins/surveyjs/initializer.php on line 75
See also: All tests for this plugin, How to Hide SurveyJS Admin Menus