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

Fatal Error on WPeMatico settings screen | WP 6.2 #46

Closed
manuelge opened this issue Mar 30, 2023 · 1 comment · Fixed by #47
Closed

Fatal Error on WPeMatico settings screen | WP 6.2 #46

manuelge opened this issue Mar 30, 2023 · 1 comment · Fixed by #47
Labels
bug Something isn't working Prioritise To do it first. Urgent Special Attention
Milestone

Comments

@manuelge
Copy link
Collaborator

A fatal error is being generated when entering the WPeMatico>Settings screen.

[30-Mar-2023 18:23:39 UTC] PHP Fatal error: Uncaught WpOrg\Requests\Exception\InvalidArgument: WpOrg\Requests\Cookie::__construct(): Argument #1 ($name) must be of type string, integer given in /var/www/clients/client1/web58/web/wp-includes/Requests/src/Exception/InvalidArgument.php:29
Stack trace:
#0 /var/www/clients/client1/web58/web/wp-includes/Requests/src/Cookie.php(83): WpOrg\Requests\Exception\InvalidArgument::create()
#1 /var/www/clients/client1/web58/web/wp-includes/class-wp-http.php(472): WpOrg\Requests\Cookie->__construct()
#2 /var/www/clients/client1/web58/web/wp-includes/class-wp-http.php(352): WP_Http::normalize_cookies()
#3 /var/www/clients/client1/web58/web/wp-includes/http.php(145): WP_Http->request()
#4 /var/www/clients/client1/web58/web/wp-content/plugins/wpematico/app/wpematico_functions.php(1584): wp_remote_request()
#5 /var/www/clients/client1/web58/web/wp-content/plugins/wpematico/app/lib/wp_ratings.php(24): WPeMatico_functions::wpematico_get_contents()
#6 /var/www/clients/client1/web58/web/wp-content/plugins/wpematico/app/wpematico_functions.php(1722): require_once('...')
#7 /var/www/clients/client1/web58/web/wp-includes/class-wp-hook.php(308): wpematico_wp_ratings()
#8 /var/www/clients/client1/web58/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#9 /var/www/clients/client1/web58/web/wp-includes/plugin.php(517): WP_Hook->do_action()
#10 /var/www/clients/client1/web58/web/wp-content/plugins/wpematico/app/settings_page.php(325): do_action()
#11 /var/www/clients/client1/web58/web/wp-includes/class-wp-hook.php(308): WPeMatico_Settings::settings_form()
#12 /var/www/clients/client1/web58/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#13 /var/www/clients/client1/web58/web/wp-includes/plugin.php(517): WP_Hook->do_action()
#14 /var/www/clients/client1/web58/web/wp-content/plugins/wpematico/app/settings_tabs.php(78): do_action()
#15 /var/www/clients/client1/web58/web/wp-includes/class-wp-hook.php(308): wpematico_settings_page()
#16 /var/www/clients/client1/web58/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#17 /var/www/clients/client1/web58/web/wp-includes/plugin.php(517): WP_Hook->do_action()
#18 /var/www/clients/client1/web58/web/wp-admin/admin.php(259): do_action()
#19 /var/www/clients/client1/web58/web/wp-admin/edit.php(10): require_once('...')
#20 {main}
thrown in /var/www/clients/client1/web58/web/wp-includes/Requests/src/Exception/InvalidArgument.php on line 29

@manuelge manuelge added the bug Something isn't working label Mar 30, 2023
@etruel etruel added this to the 2.6.18 milestone Mar 30, 2023
@etruel
Copy link
Owner

etruel commented Mar 30, 2023

Seems this works to hide the error

image

@etruel etruel added Prioritise To do it first. Urgent Special Attention labels Apr 3, 2023
@etruel etruel linked a pull request Apr 24, 2023 that will close this issue
@etruel etruel closed this as completed Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Prioritise To do it first. Urgent Special Attention
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants