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

Message "Saving failed" when saving an entry in a collection - but changes are saved #971

Closed
emdahlstrom opened this issue Jan 16, 2019 · 3 comments

Comments

@emdahlstrom
Copy link

emdahlstrom commented Jan 16, 2019

Hi I'm getting the message "Saving failed" when I try to save entries in some but not all of my collections, however the content is saved correctly.

I saw the earlier issue where saving didn't work that was resolved by making the storage directory writable but that doesn't help. and is also a different issue since in my case the content is saved.

There is no error message in the browser console and nothing in the php logs.

I first thought that maybe it was due to a a webhook getting the wrong response but disabling the webhook doesn't change the result.

I'm running Cockpit 0.8.7 with Detektivo, Groups and Logger

Any idea how to debug this?

@emdahlstrom emdahlstrom changed the title Message "Saving failed" when saving a collection - but changes are saved Message "Saving failed" when saving an entry in a collection - but changes are saved Jan 16, 2019
@pauloamgomes
Copy link
Contributor

Hey @emdahlstrom , using the network inspector what you have for the ajax save request?

@emdahlstrom
Copy link
Author

Thanks @pauloamgomes! It seems to be Detektivo:

Warning: mb_strtolower() expects parameter 1 to be string, array given in /addons/Detektivo/vendor/teamtnt/tntsearch/src/Support/Tokenizer.php on line 8

@emdahlstrom
Copy link
Author

Updating Detektivo to the latest master removed the error. Thanks for putting me on the right path!

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

2 participants