• Resolved mtg169

    (@mtg169)


    We are seeing the following fatal error on numerous sites with version 4.8.4.1. Can you add better data type handling or perhaps use a counter instead of assuming $k will be an integer?

    PHP Fatal error:  Uncaught TypeError: Unsupported operand types: string + int in /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/BreadcrumbList.php:31
    Stack trace:
    #0 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Schema.php(191): AIOSEO\Plugin\Common\Schema\Graphs\BreadcrumbList->get()
    #1 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Schema.php(145): AIOSEO\Plugin\Common\Schema\Schema->generateSchema()
    #2 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Views/main/schema.php(18): AIOSEO\Plugin\Common\Schema\Schema->get()
    #3 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php(168): require('/srv/htdocs/wp-...')
    #4 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php(126): AIOSEO\Plugin\Common\Main\Head->output()
    #5 /wordpress/core/6.8.2/wp-includes/class-wp-hook.php(324): AIOSEO\Plugin\Common\Main\Head->wpHead('')
    #6 /wordpress/core/6.8.2/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #7 /wordpress/core/6.8.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #8 /wordpress/core/6.8.2/wp-includes/general-template.php(3192): do_action('wp_head')
    #9 /srv/htdocs/wp-content/themes/oxigeno/header.php(34): wp_head()
    #10 /wordpress/core/6.8.2/wp-includes/template.php(810): require_once('/srv/htdocs/wp-...')
    #11 /wordpress/core/6.8.2/wp-includes/template.php(745): load_template('/srv/htdocs/wp-...', true, Array)
    #12 /wordpress/core/6.8.2/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
    #13 /srv/htdocs/wp-content/themes/oxigeno/index.php(10): get_header()
    #14 /wordpress/core/6.8.2/wp-includes/template-loader.php(106): include('/srv/htdocs/wp-...')
    #15 /wordpress/core/6.8.2/wp-blog-header.php(19): require_once('/wordpress/core...')
    #16 /wordpress/core/6.8.2/index.php(17): require('/wordpress/core...')
    #17 {main}
    thrown in /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/BreadcrumbList.php on line 31




Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support MM Aurangajeb

    (@aurangajeb)

    Hi @mtg169,

    Thanks for reaching out!

    We’re happy to let you know that we’ve resolved this issue in our latest release, version 4.8.5. Please update the plugin to the latest version to fix this issue and receive other updates.

    You can check out our changelog for more details: https://wordpress.org/plugins/all-in-one-seo-pack/#developers.

    I hope this solution works for you. If you have any further questions or need assistance, feel free to reach out.

    Thanks again!

    Thread Starter mtg169

    (@mtg169)

    This specific error appears fixed, but now it’s the following as it’s still lacking proper data type checks it seems:

    PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/BreadcrumbList.php:32
    Stack trace:
    #0 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Schema.php(191): AIOSEO\Plugin\Common\Schema\Graphs\BreadcrumbList->get()
    #1 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Schema.php(145): AIOSEO\Plugin\Common\Schema\Schema->generateSchema()
    #2 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Views/main/schema.php(18): AIOSEO\Plugin\Common\Schema\Schema->get()
    #3 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php(168): require('/srv/htdocs/wp-...')
    #4 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php(126): AIOSEO\Plugin\Common\Main\Head->output()
    #5 /wordpress/core/6.8.2/wp-includes/class-wp-hook.php(324): AIOSEO\Plugin\Common\Main\Head->wpHead('')
    #6 /wordpress/core/6.8.2/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #7 /wordpress/core/6.8.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #8 /wordpress/core/6.8.2/wp-includes/general-template.php(3192): do_action('wp_head')
    #9 /wordpress/themes/pub/dyad-2/header.php(19): wp_head()
    #10 /wordpress/core/6.8.2/wp-includes/template.php(810): require_once('/wordpress/them...')
    #11 /wordpress/core/6.8.2/wp-includes/template.php(745): load_template('/wordpress/them...', true, Array)
    #12 /wordpress/core/6.8.2/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
    #13 /wordpress/themes/pub/dyad-2/archive.php(11): get_header()
    #14 /wordpress/core/6.8.2/wp-includes/template-loader.php(106): include('/wordpress/them...')
    #15 /wordpress/core/6.8.2/wp-blog-header.php(19): require_once('/wordpress/core...')
    #16 /wordpress/core/6.8.2/index.php(17): require('/wordpress/core...')
    #17 {main}
    thrown in /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/BreadcrumbList.php on line 32



    Plugin Support MM Aurangajeb

    (@aurangajeb)

    Hi @mtg169,

    We’ve already opened a GitHub issue to address this, and we hope to have it resolved in our upcoming release.

    Thanks!

    Plugin Support Prabhat

    (@prabhatrai)

    Hi @mtg169 ,

    I hope you’re doing well!

    I’m excited to announce the release of All in One SEO version 4.8.6. This update includes the fix for the error you reported earlier.

    For more details, you can review our complete Changelog here:

    https://aioseo.com/changelog/

    If you haven’t already, please update your All in One SEO plugin to version 4.8.6 at your earliest convenience.

    Our team is ready to help if you have any issues during the update process or have other concerns.

    Thank you for your patience and for choosing AIOSEO for your SEO needs.

    Have a wonderful day.

    Thread Starter mtg169

    (@mtg169)

    Thanks for the updates. Unfortunately we are still seeing the second error I mentioned after the initial fix attempt in latest versions, including 4.8.9. Still doesn’t have proper data type checks.

    PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/BreadcrumbList.php:32
    Stack trace:
    #0 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Schema.php(191): AIOSEO\Plugin\Common\Schema\Graphs\BreadcrumbList->get()
    #1 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Schema.php(145): AIOSEO\Plugin\Common\Schema\Schema->generateSchema()
    #2 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Views/main/schema.php(18): AIOSEO\Plugin\Common\Schema\Schema->get()
    #3 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php(168): require('/srv/htdocs/wp-...')
    #4 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php(126): AIOSEO\Plugin\Common\Main\Head->output()
    #5 /wordpress/core/6.8.3/wp-includes/class-wp-hook.php(324): AIOSEO\Plugin\Common\Main\Head->wpHead('')
    #6 /wordpress/core/6.8.3/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #7 /wordpress/core/6.8.3/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #8 /wordpress/core/6.8.3/wp-includes/general-template.php(3192): do_action('wp_head')
    #9 /wordpress/core/6.8.3/wp-includes/template-canvas.php(17): wp_head()
    #10 /wordpress/core/6.8.3/wp-includes/template-loader.php(106): include('/wordpress/core...')
    #11 /wordpress/core/6.8.3/wp-blog-header.php(19): require_once('/wordpress/core...')
    #12 /wordpress/core/6.8.3/index.php(17): require('/wordpress/core...')
    #13 {main}
    thrown in /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/BreadcrumbList.php on line 32

    Plugin Support MM Aurangajeb

    (@aurangajeb)

    Hi @mtg169 ,

    Could you please tell us if this error started after you changed a specific action or setting, or if it happened on a specific page or post?

    We may need to investigate further to figure out what’s happening. Please contact us using the Basic Question form (https://a.supportally.com/i/qFWhzO) on our Contact Us page: https://aioseo.com/contact/.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.