• When adding a block…

    If the sheet is restricted(which is the default for me) I can add the url, without any error message but after adding the cell range I get a fatal error for wordpress.

    Looking in debug:

    `[29-May-2020 06:05:50 UTC] PHP Fatal error: Uncaught Google_Service_Exception: {
    “error”: {
    “code”: 403,
    “message”: “The caller does not have permission”,
    “errors”: [
    {
    “message”: “The caller does not have permission”,
    “domain”: “global”,
    “reason”: “forbidden”
    }
    ],
    “status”: “PERMISSION_DENIED”
    }
    }
    in …./wp-content/plugins/wp-simple-spreadsheet-fetcher-for-google/vendor/google/apiclient/src/Google/Http/REST.php:118

    This checks out but better as a wordpress admin message !

    Also, the Plugin Settings menu item is in the wrong place – it’s under plugin and not settings.

    Otherwise – looking good

    thanks

    • This topic was modified 4 years, 2 months ago by keniry.
Viewing 1 replies (of 1 total)
  • Plugin Author Naoki Ohashi

    (@naoki0h)

    Hi keniry.
    Thank you for your feedback!

    Currently, Google Sheets API doesn’t allow us to access restricted sheets. So, you need to turn on the sharing url setting.

    I know it’s better to show the error message in WordPress admin. But I couldn’t figure out the way to do it right now. But I’m considering to add notification to turn of sharing url, in sidebar.

    Also, I will re-consider the place of plugin settings menu.

Viewing 1 replies (of 1 total)
  • The topic ‘php fatal error’ is closed to new replies.