# |
Jul 10th 2018, 13:10 |
james.phillips |
error Unserializable object - Elastica\Exception\InvalidException. Error: Param _version does not exist in /var/www/vhosts/admin/dev.soc.ripfac.org.uk/htdocs/vendor/ruflin/elastica/lib/Elastica/Param.php, line 160 |
# |
Jul 10th 2018, 13:07 |
james.phillips |
na didnt help...think it to do with Type class |
# |
Jul 10th 2018, 13:04 |
james.phillips |
i will just stick it in and see |
# |
Jul 10th 2018, 13:03 |
neon1024 |
Sounds legit |
# |
Jul 10th 2018, 13:03 |
james.phillips |
ahh maybe the cake plugin needs version |
# |
Jul 10th 2018, 13:03 |
slackebot4 |
]' |
# |
Jul 10th 2018, 13:03 |
slackebot4 |
"https://www.youtube.com/watch?v=INscMGmhmX4", "title": "The Original Grumpy Cat12", "body": "this is a test" }, { "id": "JNDFojsd022", "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "title": "Another Grumpy Cat12", "body": "this is also a test" } |
# |
Jul 10th 2018, 13:03 |
james.phillips |
thanks makes sense but the example from them doesnt have version... curl -X POST 'https://host-7djrft.api.swiftype.com/api/as/v1/engines/dsfgdsfgsdf/documents' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer api-dsgsdfgsdgsd' \ -d '[ { "id": "INscMGmhmX41", "url": |
# |
Jul 10th 2018, 13:02 |
neon1024 |
I guess so that your client and instance remain on compatible version |
# |
Jul 10th 2018, 13:02 |
neon1024 |
Bit like AWS, where `_version=latest` |
# |
Jul 10th 2018, 13:02 |
neon1024 |
Sounds like the request to ES is expecting a query param of `_version` to specify which version of ES in your instance you want to write to? |
# |
Jul 10th 2018, 12:58 |
james.phillips |
can anyone point me in the right direction...when saving to elasticsearch i get : Param _version does not exist ?! |
# |
Jul 10th 2018, 12:45 |
asdfgh |
teheh |
# |
Jul 10th 2018, 12:45 |
asdfgh |
so it is not an usual setup |
# |
Jul 10th 2018, 12:45 |
asdfgh |
josbeir i am using windows 10 pro with the ubuntu subsystem.... :D |
# |
Jul 10th 2018, 12:43 |
asdfgh |
you are right! |
# |
Jul 10th 2018, 12:42 |
josbeir |
tip: best to not use dev branches in your composer file in the long run |
# |
Jul 10th 2018, 12:41 |
josbeir |
;) |
# |
Jul 10th 2018, 12:41 |
asdfgh |
THANKS! |
# |
Jul 10th 2018, 12:41 |
asdfgh |
ok it is wroking (it is cloning the dependencies) |
# |
Jul 10th 2018, 12:40 |
asdfgh |
ok i try with 1.7 |
# |
Jul 10th 2018, 12:40 |
asdfgh |
jpsbeir https://nopaste.xyz/?f83c40860a3572c6#JsE/GtnDP36gSLIPei3GT+mbkbx9/OYb8bHvluS47o4= |
# |
Jul 10th 2018, 12:40 |
josbeir |
its also not compatible with 3.6 |
# |
Jul 10th 2018, 12:40 |
josbeir |
1.8* is a bad rls |
# |
Jul 10th 2018, 12:39 |
josbeir |
it must be 1.7 |
# |
Jul 10th 2018, 12:39 |
josbeir |
wait |
# |
Jul 10th 2018, 12:39 |
josbeir |
oh no |
# |
Jul 10th 2018, 12:39 |
asdfgh |
ok |
# |
Jul 10th 2018, 12:39 |
josbeir |
didn't see :slightly_smiling_face: |
# |
Jul 10th 2018, 12:39 |
josbeir |
ah 1.8.1 is also good |
# |
Jul 10th 2018, 12:39 |
asdfgh |
ok |
# |
Jul 10th 2018, 12:39 |
asdfgh |
1.7 |
# |
Jul 10th 2018, 12:39 |
asdfgh |
ok |
# |
Jul 10th 2018, 12:39 |
asdfgh |
1.8.1 josbeir ? |
# |
Jul 10th 2018, 12:38 |
josbeir |
"cakephp/migrations": "dev-master" change that to 1.7 |
# |
Jul 10th 2018, 12:38 |
mohitprakashsharma555 |
hmmm ji bol |
# |
Jul 10th 2018, 12:38 |
asdfgh |
yes |
# |
Jul 10th 2018, 12:38 |
asdfgh |
oh pardon |
# |
Jul 10th 2018, 12:38 |
josbeir |
in your composer.json |
# |
Jul 10th 2018, 12:38 |
asdfgh |
josbeir where exactly? |
# |
Jul 10th 2018, 12:38 |
josbeir |
2 is only compatible with 3.6 |