Closed developerarun closed 3 years ago
I am unable to recreate this. Are you able to provide any further context?
I am unable to recreate this. Are you able to provide any further context?
Which Operating system you are using? I am using Linux PHP 7.3
This should create an issue on the Linux
I am unable to recreate this. Are you able to provide any further context?
Which Operating system you are using? I am using Linux PHP 7.3 This should create an issue on the Linux
I have checked its working with Windows and on Linux system have issue due to same reason
Thanks, I have just tested this on a Linux machine and get the error. This is bad oversight on my behalf, I'll fix it up and release tonight.
This has been resolved.
This has been resolved.
Thanks for your effort
Probably due to base name basename()
On Windows, both slash (/) and backslash () are used as the directory separator characters. In other environments, it is the forward-slash (/).
This function passes the resources name to request function which was actually class name and that was creating issues while updating entities
Here basename return the same class as input provided to it LIKE "Etsy\Resources\ShippingProfile" and same passed as a resource to request function so while creating a resource in createResource function it becomes "Etsy\Resources\Etsy\Resources\ShippingProfile" and create an issue,
Replacing "basename(get_class($this))," with "basename(str_replace("\\", "/", get_class($this)))," solves the problem