Schema & Structured Data for WP & AMP 1.10

Does "Schema & Structured Data for WP & AMP" work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
22PHP fatal errors
34PHP warnings
11JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 714.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 version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/schema-and-structured-data-for-wp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 20

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=schema-and-structured-data-for-wp%2Fstructured-data-for-wp.php&plugin_status=all&paged=1&s&_wpnonce=22d8a7401e
Aspect after-activation
HTTP status 200
Load time 0.816 s
Memory usage 3.84 MiB
JS errors None
Resource errors None

Structured Data

Page screenshot: Structured Data
URL /wp-admin/edit.php?post_type=saswp
Aspect menu-item
HTTP status 200
Load time 0.691 s
Memory usage 3.87 MiB
JS errors None
Resource errors None

Structured Data → Reviews

Page screenshot: Structured Data → Reviews
URL /wp-admin/edit.php?post_type=saswp_reviews
Aspect menu-item
HTTP status 200
Load time 0.350 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

Structured Data → Reviews → Collections

Page screenshot: Structured Data → Reviews → Collections
URL /wp-admin/edit.php?post_type=saswp-collections
Aspect menu-item-tab
HTTP status 200
Load time 0.258 s
Memory usage 3.87 MiB
JS errors None
Resource errors None

Structured Data → Reviews → Accept Reviews

Page screenshot: Structured Data → Reviews → Accept Reviews
URL /wp-admin/edit.php?post_type=saswp_reviews
Aspect menu-item-tab
HTTP status 200
Load time 0.327 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

Structured Data → Settings

Page screenshot: Structured Data → Settings
URL /wp-admin/edit.php?post_type=saswp&page=structured_data_options
Aspect menu-item
HTTP status 200
Load time 1.975 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

Structured Data → Settings → AMP

Page screenshot: Structured Data → Settings →  AMP
URL /wp-admin/admin.php?page=structured_data_options&tab=amp
Aspect menu-item-tab
HTTP status 200
Load time 1.274 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Structured Data → Settings → Review

Page screenshot: Structured Data → Settings →  Review
URL /wp-admin/admin.php?page=structured_data_options&tab=review
Aspect menu-item-tab
HTTP status 200
Load time 1.344 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Structured Data → Settings → Compatibility

Page screenshot: Structured Data → Settings →  Compatibility
URL /wp-admin/admin.php?page=structured_data_options&tab=compatibility
Aspect menu-item-tab
HTTP status 200
Load time 1.335 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Structured Data → Settings → Email Schema

Page screenshot: Structured Data → Settings →  Email Schema
URL /wp-admin/admin.php?page=structured_data_options&tab=email_schema
Aspect menu-item-tab
HTTP status 200
Load time 1.275 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Structured Data → Settings → Advanced

Page screenshot: Structured Data → Settings →  Advanced
URL /wp-admin/admin.php?page=structured_data_options&tab=tools
Aspect menu-item-tab
HTTP status 200
Load time 1.301 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Structured Data → Settings → Premium Features

Page screenshot: Structured Data → Settings →  Premium Features
URL /wp-admin/admin.php?page=structured_data_options&tab=premium_features
Aspect menu-item-tab
HTTP status 200
Load time 1.294 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Structured Data → Settings → Services

Page screenshot: Structured Data → Settings →  Services
URL /wp-admin/admin.php?page=structured_data_options&tab=services
Aspect menu-item-tab
HTTP status 200
Load time 1.397 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Structured Data → Settings → Support

Page screenshot: Structured Data → Settings →  Support
URL /wp-admin/admin.php?page=structured_data_options&tab=support
Aspect menu-item-tab
HTTP status 200
Load time 1.277 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Structured Data → Upgrade To Premium

Page screenshot: Structured Data → Upgrade To Premium
URL /wp-admin/edit.php?post_type=saswp&page=structured_data_premium
Aspect menu-item
HTTP status 200
Load time 0.190 s
Memory usage N/A
JS errors None
Resource errors None

Structured Data →

Page screenshot: Structured Data →
URL /wp-admin/edit.php?post_type=saswp&page=collection
Aspect menu-item
HTTP status 200
Load time 0.275 s
Memory usage 3.7 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 500
Load time 0.147 s
Memory usage N/A
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.999 s
Memory usage 5.67 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.662 s
Memory usage 5.66 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 2.257 s
Memory usage 5.58 MiB
JS errors
[
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.268 s0.328 s+0.060 s3.05 MiB3.74 MiB+ 714.46 KiB
/wp-admin/edit.php0.175 s0.209 s+0.034 s3.07 MiB3.82 MiB+ 764.73 KiB
/wp-admin/post-new.php0.741 s1.098 s+0.357 s4.97 MiB5.67 MiB+ 723.66 KiB
/wp-admin/upload.php0.757 s0.423 s-0.334 s2.99 MiB3.67 MiB+ 696.7 KiB
/wp-admin/options-writing.php0.167 s0.173 s+0.006 s2.99 MiB3.65 MiB+ 682.66 KiB
/wp-admin/media-new.php0.259 s0.165 s-0.094 s2.97 MiB3.66 MiB+ 708.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.189 s+0.009 s2.98 MiB3.7 MiB+ 734.8 KiB
/wp-admin/post-new.php?post_type=page0.617 s0.666 s+0.049 s4.96 MiB5.66 MiB+ 719.33 KiB
/wp-admin/options-discussion.php0.207 s0.208 s+0.001 s2.98 MiB3.66 MiB+ 696.4 KiB
/wp-admin/edit-comments.php0.201 s0.206 s+0.005 s3 MiB3.69 MiB+ 702.8 KiB
Average 0.357 s0.366 s+0.009 s3.4 MiB4.09 MiB+ 714.44 KiB

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
PHP68.5%49,4662,02265
CSS15.5%11,19630230
JavaScript15.0%10,85023727
SVG1.0%68933
JSX0.1%4321
Total 72,244 2,566 126

PHP Code Analysis | More results »

Lines of code 47,576
Total complexity 9,108
Median class complexity 31.0
Median method complexity 1.0
Most complex class saswp_output_service
Most complex function saswp_output_service::saswp_replace_with_custom_fields_value()
Classes 28
Methods 366
Functions 434

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.

Options wp_options 5

Custom Post Types 4

ID Name
saswpStructured Data
saswp_reviewsReviews
saswp_rvs_locationLocation
saswp-collectionsCollections

Sidebar Widgets 2

ID Name
saswp_location_widgetSASWP Location
saswp_google_review_widgetReviews

Meta Boxes

{
    "post": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "page": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "customize_changeset": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "oembed_cache": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "wp_block": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "wp_template": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "wp_template_part": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "wp_global_styles": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "wp_navigation": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "saswp_reviews": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        },
        "saswp_reviews_form": {
            "title": "Reviews form Shortcode",
            "context": "side"
        },
        "saswp_reviews_usage": {
            "title": "Review Usage",
            "context": "side"
        },
        "saswp_submitdiv": {
            "title": "Publish",
            "context": "side"
        },
        "saswp_review_content": {
            "title": "Review Content",
            "context": "normal"
        }
    },
    "saswp_rvs_location": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "saswp-collections": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "saswp": {
        "saswp_schema_type": {
            "title": "Schema Type",
            "context": "normal"
        },
        "saswp_amp_select": {
            "title": "Placement",
            "context": "normal"
        },
        "saswp_schema_options": {
            "title": "Advance Schema Options",
            "context": "normal"
        },
        "saswp_location_meta_box": {
            "title": "Front End",
            "context": "side"
        },
        "saswp_help_meta_box": {
            "title": "Help",
            "context": "side"
        },
        "saswp_submitdiv": {
            "title": "Publish",
            "context": "side"
        }
    }
}

PHP Error Log 518 lines

[11-Feb-2023 08:49:56 UTC] PHP Warning:  Undefined array key "bunyadamp" in /wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php on line 3207
[11-Feb-2023 08:49:57 UTC] PHP Warning:  Undefined variable $breadcrumb in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php on line 2880
[11-Feb-2023 08:49:57 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php:2880
Stack trace:
#0 /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php(2880): in_array()
#1 /wp-content/plugins/schema-and-structured-data-for-wp/output/function.php(287): saswp_schema_breadcrumb_output()
#2 /wp-content/plugins/schema-and-structured-data-for-wp/output/function.php(141): saswp_get_all_schema_markup_output()
#3 /wp-includes/class-wp-hook.php(308): saswp_schema_markup_output()
#4 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-includes/general-template.php(3043): do_action()
#7 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#8 /wp-includes/template.php(783): require_once('...')
#9 /wp-includes/template.php(718): load_template()
#10 /wp-includes/general-template.php(48): locate_template()
#11 /wp-content/themes/twentyseventeen/404.php(13): get_header()
#12 /wp-includes/template-loader.php(106): include('...')
#13 /wp-blog-header.php(19): require_once('...')
#14 /index.php(17): require('...')
#15 {main}
  thrown in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php on line 2880
[11-Feb-2023 08:49:59 UTC] PHP Warning:  Undefined array key "bunyadamp" in /wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php on line 3207
[11-Feb-2023 08:50:00 UTC] PHP Warning:  Undefined variable $breadcrumb in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php on line 2880
[11-Feb-2023 08:50:00 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php:2880
Stack trace:
#0 /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php(2880): in_array()
#1 /wp-content/plugins/schema-and-structured-data-for-wp/output/function.php(287): saswp_schema_breadcrumb_output()
#2 /wp-content/plugins/schema-and-structured-data-for-wp/output/function.php(141): saswp_get_all_schema_markup_output()
#3 /wp-includes/class-wp-hook.php(308): saswp_schema_markup_output()
#4 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-includes/general-template.php(3043): do_action()
#7 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#8 /wp-includes/template.php(783): require_once('...')
#9 /wp-includes/template.php(718): load_template()
#10 /wp-includes/general-template.php(48): locate_template()
#11 /wp-content/themes/twentyseventeen/404.php(13): get_header()
#12 /wp-includes/template-loader.php(106): include('...')
#13 /wp-blog-header.php(19): require_once('...')
#14 /index.php(17): require('...')
#15 {main}
  thrown in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php on line 2880
[11-Feb-2023 08:50:01 UTC] PHP Warning:  Undefined array key "bunyadamp" in /wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php on line 3207
[11-Feb-2023 08:50:02 UTC] PHP Warning:  Undefined variable $breadcrumb in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php on line 2880
[11-Feb-2023 08:50:02 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php:2880
Stack trace:
#0 /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php(2880): in_array()
#1 /wp-content/plugins/schema-and-structured-data-for-wp/output/function.php(287): saswp_schema_breadcrumb_output()
#2 /wp-content/plugins/schema-and-structured-data-for-wp/output/function.php(141): saswp_get_all_schema_markup_output()
#3 /wp-includes/class-wp-hook.php(308): saswp_schema_markup_output()
#4 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-includes/general-template.php(3043): do_action()
#7 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#8 /wp-includes/template.php(783): require_once('...')
#9 /wp-includes/template.php(718): load_template()
#10 /wp-includes/general-template.php(48): locate_template()
#11 /wp-content/themes/twentyseventeen/404.php(13): get_header()
#12 /wp-includes/template-loader.php(106): include('...')
#13 /wp-blog-header.php(19): require_once('...')
#14 /index.php(17): require('...')
#15 {main}
  thrown in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php on line 2880
[11-Feb-2023 08:50:03 UTC] PHP Warning:  Undefined array key "bunyadamp" in /wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php on line 3207
[11-Feb-2023 08:50:04 UTC] PHP Warning:  Undefined variable $breadcrumb in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php on line 2880
[11-Feb-2023 08:50:04 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php:2880
Stack trace:
#0 /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php(2880): in_array()
#1 /wp-content/plugins/schema-and-structured-data-for-wp/output/function.php(287): saswp_schema_breadcrumb_output()
#2 /wp-content/plugins/schema-and-structured-data-for-wp/output/function.php(141): saswp_get_all_schema_markup_output()
#3 /wp-includes/class-wp-hook.php(308): saswp_schema_markup_output()
#4 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-includes/general-template.php(3043): do_action()
#7 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#8 /wp-includes/template.php(783): require_once('...')
#9 /wp-includes/template.php(718): load_template()
#10 /wp-includes/general-template.php(48): locate_template()
#11 /wp-content/themes/twentyseventeen/404.php(13): get_header()
#12 /wp-includes/template-loader.php(106): include('...')
#13 /wp-blog-header.php(19): require_once('...')
#14 /index.php(17): require('...')
#15 {main}
  thrown in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php on line 2880
[11-Feb-2023 08:50:05 UTC] PHP Warning:  Undefined array key "bunyadamp" in /wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php on line 3207
[11-Feb-2023 08:50:06 UTC] PHP Warning:  Undefined variable $breadcrumb in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php on line 2880
[11-Feb-2023 08:50:06 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php:2880
Stack trace:
#0 /wp-content/plugins/schema-and-structured-data-for-wp/output/output.php(2880): in_array()
#1 /wp-content/plugins/schema-and-structured-data-for-wp/output/function.php(287): saswp_schema_breadcrumb_output()
#2 /wp-content/plugins/schema-and-structured-data-for-wp/output/function.php(141): saswp_get_all_schema_markup_output()
#3 /wp-includes/class-wp-hook.php(308): saswp_schema_markup_output()
#4 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-includes/general-template.php(3043): do_action()
#7 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#8 /wp-includes/template.php(783): require_once('...')
#9 /wp-includes/template.php(718): load_template()
#10 /wp-includes/general-template.php(48): locate_template()
#11 /wp-content/themes/twentyseventeen/404.php(13): get_header()

(+418 more lines)
See also: All tests for this plugin, How to Hide Schema & Structured Data for WP & AMP Admin Menus and Meta Boxes