Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yoast SEO plugin not working #110

Open
ghostiq opened this issue Jul 13, 2021 · 2 comments
Open

Yoast SEO plugin not working #110

ghostiq opened this issue Jul 13, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ghostiq
Copy link

ghostiq commented Jul 13, 2021

Hello, after installing the plugin Yoast SEO [wordpress-seo] there are some errors inside admin area (plugins.php page):

PHP4046	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/promises/src/functions.php (201,12):	Call to a member function then() on array|boolean
PHP5018	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/promises/src/functions.php (201,12):	Deprecated: Method 'each' has been deprecated.
PHP5014	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/promises/src/functions.php (201,12):	each() expects 1 parameter(s), 3 given
PHP4046	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/promises/src/functions.php (230,12):	Call to a member function then() on array|boolean
PHP5018	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/promises/src/functions.php (230,12):	Deprecated: Method 'each' has been deprecated.
PHP5014	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/promises/src/functions.php (230,12):	each() expects 1 parameter(s), 3 given
PHP4046	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/promises/src/functions.php (276,12):	Call to a member function then() on array|boolean
PHP5018	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/promises/src/functions.php (276,12):	Deprecated: Method 'each' has been deprecated.
PHP5014	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/promises/src/functions.php (276,12):	each() expects 1 parameter(s), 3 given
PHP5025	/wp-content/plugins/wordpress-seo/admin/menu/class-replacevar-editor.php (101,4):	Call to 'printf()' expects 10 argument(s), 12 given.
PHP5007	/wp-content/plugins/wordpress-seo/vendor/composer/ClassLoader.php (345,58):	Undefined variable: $hit
PHP5007	/wp-content/plugins/wordpress-seo/src/deprecated/frontend/class-opengraph.php (58,54):	Undefined variable: $og_property
PHP5009	/wp-content/plugins/wordpress-seo/src/deprecated/frontend/schema/class-schema-author.php (115,18):	Call to undefined method: WPSEO_Deprecated_Graph_Piece::determine_user_id()
PHP5014	/wp-content/plugins/wordpress-seo/src/integrations/third-party/the-events-calendar.php (45,15):	new Yoast\WP\SEO\Generators\Schema\Third_Party\Events_Calendar_Schema() expects 0 parameter(s), 1 given
PHP5018	/wp-content/plugins/wordpress-seo/src/deprecated/frontend/schema/class-schema-howto.php (205,36):	Deprecated: Method 'WPSEO_Schema_HowTo::get_image_schema' has been deprecated. 14.0
PHP6004	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/psr7/src/Stream.php (55,21):	Use of '__destruct' is discouraged. Garbage collection behavior is a subject to change.
PHP6004	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/psr7/src/FnStream.php (40,21):	Use of '__destruct' is discouraged. Garbage collection behavior is a subject to change.
PHP5025	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/psr7/src/LimitStream.php (62,50):	Call to 'sprintf()' expects 2 argument(s), 3 given.
PHP6004	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php (31,21):	Use of '__destruct' is discouraged. Garbage collection behavior is a subject to change.
PHP5009	/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/third-party/elementor.php (40,12):	Call to undefined method: Exclude_Elementor_Post_Types::__construct()
PHP6004	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php (34,21):	Use of '__destruct' is discouraged. Garbage collection behavior is a subject to change.
PHP5014	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php (223,20):	stream_context_create() expects 1 parameter(s), 2 given
PHP6004	/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php (47,21):	Use of '__destruct' is discouraged. Garbage collection behavior is a subject to change.

And after activating the plugin this is displayed as text inside both administration&frontend area (it's before declaration in source html code):


 */
if ( ! function_exists( 'add_filter' ) ) {
    header( 'Status: 403 Forbidden' );
    header( 'HTTP/1.1 403 Forbidden' );
    exit();
}

if ( ! defined( 'WPSEO_FILE' ) ) {
    define( 'WPSEO_FILE', __FILE__ );
}

// Load the Yoast SEO plugin.
require_once dirname( WPSEO_FILE ) . '/wp-seo-main.php';
@ghostiq ghostiq added the bug Something isn't working label Jul 13, 2021
@jakubmisek
Copy link
Collaborator

thank you @ghostiq!

@jakubmisek jakubmisek self-assigned this Jul 28, 2021
@TomatorCZ
Copy link
Contributor

TomatorCZ commented Oct 7, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants