• Many errors in log file due to Social Warfare after upgrade to latest WordPress. Please update.

    Deprecated: The PSR-0 Requests_... class names in the Request library are deprecated. Switch to the PSR-4 WpOrg\Requests\... class names at your earliest convenience. in /home/customer/www/xxxxxxxxx.xxxxxxx.xxx/public_html/wp/wp-includes/class-requests.php on line 24

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Same here, when I tried to update to ver 6.2 I came across this error. And my website is not working again please help https://softwarify.con

    PHP Deprecated: The PSR-0 Requests_... class names in the Request library are deprecated. Switch to the PSR-4 WpOrg\Requests\... class names at your earliest convenience. in /home/xxxxxxx/xxxxxxx/xxxxxxx/htdocs/wp-includes/class-requests.php on line 24[05-Apr-2023 09:50:45 UTC] PHP Warning: require_once(/home/xxxxxxx/xxxxxxx/xxxxxxx/htdocs/wp-includes/Requests/src/Requests.php): failed to open stream: No such file or directory in /home/xxxxxxx/xxxxxxx/xxxxxxx/htdocs/wp-includes/class-requests.php on line 33[05-Apr-2023 09:50:45 UTC] PHP Fatal error: require_once(): Failed opening required ‘/home/xxxxxxx/xxxxxxx/xxxxxxxxxxx/htdocs/wp-includes/Requests/src/Requests.php’ (include_path=’.:/usr/share/pear/’) in /home/xxxxxxx/xxxxxxx/xxxxxxx/htdocs/wp-includes/class-requests.php on line 33

    I don’t think this has anything to do with the plugin, we’re not using the plugin and we’re getting the same error.

    How can I deal with this….?

    I was using elementor, as soon as I updated elementor, the issue was resolved.

    Hope this helps

    Simply update the elementor plugin and it would fixed the error.

    I’m not using elementor plugin buh thanks the issue has been resolved. What I did was I update my WordPress from CPanel – Softaculous and it worked

    I’m having the same error message. Everyone is saying you need to update elementor. How do you update elementor?

    @heatherdejong Are you using Elementor plugins….? Of yes update it, and if not try update your WordPress from CPanel

    I do believe that this is an issue with the Social Warfare plugin. (not saying it cannot happen with other plugins as well though). I searched the code of all my plugins and the only one using “Requests::” was Social Warfare.

    I found occurrences in two files: SWP_CURL.php and SWP_Requests.php, both in lib/utilities

    Apparently the solution is to add the new namespace??WpOrg\Requests\Requests to all ‘Requests’.

    Can you please update the plugin so the PHP warnings are gone?

    karenkisswp

    (@karenkisswpwebsites)

    Hi,
    A client is getting those warnings too and she has the social warfare plugin installed.

    Is there going to be an update to solve this issue?
    Regards,
    Karen

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Deprecated PSR-0 Requests’ is closed to new replies.