• Resolved bernhardat

    (@bernhardat)


    Hello,

    After fresh installation of the AIOSEO Plugin i get the following Errors.

    What’s the reason for thiese and how can i solve this?

    PHP-Error:

    preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
    
    wp-includes/formatting.php:5397
    preg_replace()
    wp-includes/formatting.php:5397
    wp_strip_all_tags()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Tags.php:1063
    AIOSEO\P\C\U\Tags->getTaxonomyTitle()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Tags.php:930
    AIOSEO\P\C\U\Tags->getTagValue()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Tags.php:590
    AIOSEO\P\C\U\Tags->all()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Traits/Helpers/Vue.php:57
    AIOSEO\P\C\U\Helpers->getVueData()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Admin/Admin.php:872
    AIOSEO\P\C\A\Admin->enqueueAssets()
    wp-includes/class-wp-hook.php:308
    do_action('admin_enqueue_scripts')
    wp-admin/admin-header.php:118

    Error:

    Warning: Undefined array key "width" in /home/oi165nap/www/home/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/Traits/Image.php on line 42
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bernhardat

    (@bernhardat)

    I have tried again after i removed all  transient options with the WP-Optimizer and have activated the debug mode.

    Unfortunately i got some PHP-Error Codes:

    PHP-Error 1:

    Undefined array key "width"
    wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/Traits/Image.php:42
    AIOSEO\P\C\S\G\Graph->image()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/KnowledgeGraph/KgOrganization.php:78
    AIOSEO\P\C\S\G\K\KgOrganization->logo()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/KnowledgeGraph/KgOrganization.php:34
    AIOSEO\P\C\S\G\K\KgOrganization->get()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Schema.php:175
    AIOSEO\P\C\S\Schema->generateSchema()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Schema.php:130
    AIOSEO\P\C\S\Schema->get()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Views/main/schema.php:18
    AIOSEO\P\C\M\Head->output()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php:139
    AIOSEO\P\C\M\Head->init()
    wp-includes/class-wp-hook.php:308
    do_action('wp_head')
    wp-includes/general-template.php:3043
    wp_head()
    wp-content/themes/*******/header.php:17
    load_template('wp-content/themes/*******/header.php')
    wp-includes/template.php:718
    locate_template()
    wp-includes/general-template.php:48
    get_header()
    wp-content/themes/*******/page.php:6
    

    PHP-Error 2:

    wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Twitter.php:183
    preg_match()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Twitter.php:183
    AIOSEO\P\C\S\Twitter->prepareUsername()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Output.php:115
    AIOSEO\P\C\S\Output->getTwitterMeta()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Views/main/social.php:29
    AIOSEO\P\C\M\Head->output()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php:139
    AIOSEO\P\C\M\Head->init()
    wp-includes/class-wp-hook.php:308
    do_action('wp_head')
    wp-includes/general-template.php:3043
    wp_head()
    wp-content/themes/*******/header.php:17
    load_template('wp-content/themes/*******/header.php')
    wp-includes/template.php:718
    locate_template()
    wp-includes/general-template.php:48
    get_header()
    wp-content/themes/*******/page.php:6
    

    PHP-Error 3:

    wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Twitter.php:189
    
    strpos()
    
    wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Twitter.php:189
    
    AIOSEO\P\C\S\Twitter->prepareUsername()
    
    wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Output.php:115
    
    AIOSEO\P\C\S\Output->getTwitterMeta()
    
    wp-content/plugins/all-in-one-seo-pack/app/Common/Views/main/social.php:29
    
    AIOSEO\P\C\M\Head->output()
    
    wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php:139
    
    AIOSEO\P\C\M\Head->init()
    
    wp-includes/class-wp-hook.php:308
    
    do_action('wp_head')
    
    wp-includes/general-template.php:3043
    
    wp_head()
    
    wp-content/themes/*******/header.php:17
    
    load_template('wp-content/themes/*******/header.php')
    
    wp-includes/template.php:718
    
    locate_template()
    
    wp-includes/general-template.php:48
    
    get_header()
    
    wp-content/themes/*******/page.php:6

    PHP-Error 4:

    wp-includes/formatting.php:5397
    preg_replace()
    wp-includes/formatting.php:5397
    wp_strip_all_tags()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Helpers.php:53
    AIOSEO\P\C\S\Helpers->cleanAndParseData()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Helpers.php:42
    AIOSEO\P\C\S\Helpers->cleanAndParseData()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Helpers.php:82
    AIOSEO\P\C\S\Helpers->getOutput()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Schema.php:179
    AIOSEO\P\C\S\Schema->generateSchema()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Schema.php:130
    AIOSEO\P\C\S\Schema->get()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Views/main/schema.php:18
    AIOSEO\P\C\M\Head->output()
    wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php:139
    AIOSEO\P\C\M\Head->init()
    wp-includes/class-wp-hook.php:308
    do_action('wp_head')
    wp-includes/general-template.php:3043
    wp_head()
    wp-content/themes/*******/header.php:17
    load_template('wp-content/themes/*******/header.php')
    wp-includes/template.php:718
    locate_template()
    wp-includes/general-template.php:48
    get_header()
    wp-content/themes/*******/page.php:6
    
    • This reply was modified 3 years, 4 months ago by bernhardat.
    Plugin Author benjaminprojas

    (@benjaminprojas)

    Hey @bernhardat, Thanks for bringing these to our attention! We have a fix ready to go for our next release.

    Thread Starter bernhardat

    (@bernhardat)

    Hello @benjaminprojas, thank you. When will the next release available because my Customer would like to change from Yoast SEO.

    Plugin Support Steve M

    (@wpsmort)

    Hi @bernhardat,

    We don’t have a release date as yet. We’ll update this forum post when we’ve released an update for this.

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

The topic ‘Error on WordPress with PHP 8.0 & 8.1’ is closed to new replies.