Errors :: Can't locate object method

 

ERROR:  Can't locate object method "post" via package "LWP::UserAgent"

  1. Reason: LWP::UserAgant Perl module may not be installed on your server or you have a version older than the allowed version.

  2. Solution: Install or upgrade LWP::UserAgant Perl module to libwww-perl 5.65 or newer.

How to determine the version of libwww-perl installed on your server, navigate to the Perl module directory and open the LWP.pm module, you should see something like $VERSION = "5.xx"; at the top of the file.