Closed Healyhatman closed 4 years ago
Confirmed.
@willemstuursma did anything change on the repo settings / build? (not at my end)
The issue lies with the Travis build. Will need to investigate further.
@willemstuursma The vendor-included build is failing on Travis due to bad GitHub credentials. See for example this build.
Can you check these credentials?
Any updates on this?? :) I am still waiting for mollie's response now on this subject.. after a week.. with the missing autoloader being the main problem..
We're looking into this @Noordkust-nikolai . If you're looking for a quick fix, take a look at the makefile. You can try and run these commands to build the autoload directory locally:
@sandervanhooft ok ok! thanks! I'll take a look into that :)
@willemstuursma The vendor-included build is failing on Travis due to bad GitHub credentials. See for example this build.
Can you check these credentials?
I've updated the credentials.
Just released v2.22.1 to fix this issue.
Thanks all!
I'm getting this from the vendor, PHP version 5.6.40. [Thu Aug 20 12:49:33.198978 2020] [:error] [pid 15015] [client 85.241.130.64:50426] PHP Parse error: syntax error, unexpected ':', expecting '{' in ...../public_html/new-admin/vendor/guzzlehttp/guzzle/src/functions.php on line 14
Edit: Didn't see this type of declaration before of functions but it seems to be new from PHP 7...
You may be right. I am suspecting a Guzzle version is used that does not support your php version (5.6).
@Noordkust-nikolai can you share what's on line 14 of /public_html/new-admin/vendor/guzzlehttp/guzzle/src/functions.php
?
@sandervanhooft function describe_type($input) : string
then the Guzzle version is definitely the issue in combination with php 5.6. Any chance you can upgrade your php version to 7.2? @Noordkust-nikolai
@sandervanhooft unfortunately not..
Can you try on your php 5.6 system:
make mollie-api-php.zip
from the package root?The old website is still in place and the new one in a subdirectory. So I would prefer not to have any interference with it.. How do I run that code? Make mollie-api-php.zip? And won't that have the same problem with the php versions of guzzle?
you can create another temporary directory for this test, clone the package there and run make mollie-api-php.zip
from within the downloaded package directory.
Note that this requires a commandline (Linux/Mac), and composer
globally available from the commandline (this is a typical webserver setup).
Running the makefile will pull in the dependencies that work for your setup, or notify you that it cannot be done. (so it would solve the guzzle version issue)
Hi @Noordkust-nikolai et al,
Can you give the latest release a try?
The readme state that the files in the releases page include everything for those of us unable to use composer, but as of 3 releases ago they don't include everything. No vendor folder.