• Resolved vespino

    (@vespino)


    I have been getting the following errors the last couple of days:

    in_array() expects parameter 2 to be array, string given in /path/to/dir/wp-content/plugins/all-in-one-seo-pack/app/Common/Migration/Sitemap.php on line 207

    in_array() expects parameter 2 to be array, string given in /path/to/dir/wp-content/plugins/all-in-one-seo-pack/app/Common/Migration/Sitemap.php on line 213

    array_intersect(): Expected parameter 2 to be an array, string given in /path/to/dir/wp-content/plugins/all-in-one-seo-pack/app/Common/Migration/Sitemap.php on line 220

    array_values() expects parameter 1 to be array, null given in /path/to/dir/wp-content/plugins/all-in-one-seo-pack/app/Common/Migration/Sitemap.php on line 220

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author benjaminprojas

    (@benjaminprojas)

    @vespino,

    Thanks for sharing that! Our development team has a fix for this that will be in the next release of our plugin that is due out today.

    Let us know if you have any further questions!

    Plugin Author benjaminprojas

    (@benjaminprojas)

    We’ve just pushed out an update that should fix this issue. Can you update to 4.0.9 and see if that resolves it?

    Thread Starter vespino

    (@vespino)

    The plugin does show it has updated tonight. At the same time on one of my sites it showed these errors, but this could just simply have occurred when updating:

    [23-Dec-2020 02:10:11 UTC] PHP Warning:  include(/path/to/dir/wp-content/plugins/all-in-one-seo-pack/vendor/composer/../../vendor_prefixed/monolog/monolog/src/Monolog/ResettableInterface.php): failed to open stream: No such file or directory in /path/to/dir/wp-content/plugins/all-in-one-seo-pack/vendor/composer/ClassLoader.php on line 444
    [23-Dec-2020 02:10:11 UTC] PHP Warning:  include(): Failed opening '/path/to/dir/wp-content/plugins/all-in-one-seo-pack/vendor/composer/../../vendor_prefixed/monolog/monolog/src/Monolog/ResettableInterface.php' for inclusion (include_path='.:/home/u5562p5834/domains/_codebase/') in /path/to/dir/wp-content/plugins/all-in-one-seo-pack/vendor/composer/ClassLoader.php on line 444
    [23-Dec-2020 02:10:11 UTC] PHP Fatal error:  Uncaught Error: Interface 'AIOSEO\Vendor\Monolog\ResettableInterface' not found in /path/to/dir/wp-content/plugins/all-in-one-seo-pack/vendor_prefixed/monolog/monolog/src/Monolog/Logger.php:26
    Stack trace:
    #0 /path/to/dir/wp-content/plugins/all-in-one-seo-pack/vendor/composer/ClassLoader.php(444): include()
    #1 /path/to/dir/wp-content/plugins/all-in-one-seo-pack/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/u5562p583...')
    #2 [internal function]: Composer\Autoload\ClassLoader->loadClass('AIOSEO\\Vendor\\M...')
    #3 /path/to/dir/wp-content/plugins/all-in-one-seo-pack/app/Common/Tools/BadBotBlocker.php(212): spl_autoload_call('AIOSEO\\Vendor\\M...')
    #4 /path/to/dir/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php(308): AIOSEO\Plugin\Common\Tools\BadBotBlocker->init()
    #5 /home/u5562p5834/dom in /path/to/dir/wp-content/plugins/all-in-one-seo-pack/vendor_prefixed/monolog/monolog/src/Monolog/Logger.php on line 26
    Plugin Support Steve M

    (@wpsmort)

    @vespino I wanted to follow up and see if you’ve had any further occurrences of the errors you reported above.

    Thread Starter vespino

    (@vespino)

    Oh sorry, all of my errors seem to have disappeared. All is fine. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘error on lines 207, 213, 220 of /app/Common/Migration/Sitemap.php’ is closed to new replies.