Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Sources is invalid" when saving entry #21

Open
jesuismaxime opened this issue Apr 8, 2019 · 7 comments
Open

"Sources is invalid" when saving entry #21

jesuismaxime opened this issue Apr 8, 2019 · 7 comments
Assignees

Comments

@jesuismaxime
Copy link

Lastest plugin version, lastest Craft version and got this log :

2019-04-08 09:06:08 [-][3][-][error][timkelty\craftcms\sitesync\Field::normalizeValue] Syncable failed validation: Array
(
    [sources] => Array
        (
            [0] => Sources est invalide.
        )

)

I dont have any 'Sources' field so I guess it coming from the plugin (or a conflict with another).

I use SEO, SuperTable and Neo on the section/entry type I need to sync. I test with a new/empty entry and still not able to sync my content.

"Sources est invalide." translate to "Sources is invalid"

@timkelty
Copy link
Owner

timkelty commented Apr 8, 2019

Thanks @jesuismaxime, I'll have a look today. If you could share a db dump and your composer.json that would help! I'm on the Craft Discord, or email me at [email protected].

@timkelty timkelty self-assigned this Apr 8, 2019
@MisterMike
Copy link

MisterMike commented Apr 8, 2019

Just tried to install the plugin, which worked. But I can no longer add any fields, as there is the following error being thrown:
Invalid path alias: @timkelty/craft/sitesync/resources/web

@timkelty
Copy link
Owner

timkelty commented Apr 8, 2019

@MisterMike make sure you have the latest: 1.0.2

@MisterMike
Copy link

@timkelty Thanks for the fast reply. Okay, will try. Currently composer does not let me get 1.0.2 despite "^1.0" and I can also see it on packagist..

@MisterMike
Copy link

"platform": { "php": "7.0" }

I set it to 7.2 and it worked. Thanks a lot!

@timkelty
Copy link
Owner

timkelty commented Apr 8, 2019

This was fixed by upgrading to the latest version

@timkelty timkelty closed this as completed Apr 8, 2019
@timkelty timkelty changed the title Not able to make the plugin work "Sources is invalid" when saving entry Apr 8, 2019
@timkelty
Copy link
Owner

timkelty commented Apr 8, 2019

Reopening…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants