Pennebaker / craft-architect

A plugin for importing and exporting content models from Craft 3/4 using JSON.
MIT License
72 stars 6 forks source link

getSiteById() Error when trying to export anything #48

Closed jamielaughton closed 4 years ago

jamielaughton commented 4 years ago

Hi, I'm receiving error:

Argument 1 passed to craft\services\Sites::getSiteById() must be of the type integer, string given, called in /Users/useradmin/Documents/repos/spacecentre/vendor/pennebaker/craft-architect/src/base/Processor.php on line 297

When i try to export anything from architect. The getSiteById function is used throughout the rest of the cms without issue so I'm at a bit of a loss as to why this error is being thrown

Any help would be greatly appreciated

Cheers, Jame

mdominguez commented 4 years ago

Same here, plugin is unusable at this point..

spAnser commented 4 years ago

Looks like I missed the notification of this problem. I plan on getting back into a schedule where I can start doing bug fixes and features for this starting today.

spAnser commented 4 years ago

Let me know if this works. I have this issue as well but couldn't find the site I was having the issue on.

jamielaughton commented 4 years ago

Works perfectly now, thanks for the super quick fix