asimlqt / php-google-spreadsheet-client

A PHP library for accessing and manipulating Google Spreadsheets
Other
544 stars 152 forks source link

No link found with rel "edit" i Google\Spreadsheet\Util::getLinkHref() #196

Open nitinsingh81888 opened 5 years ago

nitinsingh81888 commented 5 years ago

Fatal error: Uncaught exception 'Google\Spreadsheet\Exception\Exception' with message 'No link found with rel "edit"' in /var/www/hrm.stpi.com/HRMLeave/vendor/asimlqt/php-google-spreadsheet-client/src/Google/Spreadsheet/Util.php:58 Stack trace:

0 /var/www/hrm.stpi.com/HRMLeave/vendor/asimlqt/php-google-spreadsheet-client/src/Google/Spreadsheet/ListEntry.php(115): Google\Spreadsheet\Util::getLinkHref(Object(SimpleXMLElement), 'edit')

1 /var/www/hrm.stpi.com/HRMLeave/vendor/asimlqt/php-google-spreadsheet-client/src/Google/Spreadsheet/ListEntry.php(97): Google\Spreadsheet\ListEntry->getEditUrl()

2 /var/www/hrm.stpi.com/HRMLeave/cancelleave.php(52): Google\Spreadsheet\ListEntry->update(Array)

3 {main}

thrown in /var/www/hrm.stpi.com/HRMLeave/vendor/asimlqt/php-google-spreadsheet-client/src/Google/Spreadsheet/Util.php on line 58