Comments (7)
Thanks. Will look into it. I have not run the library through all possible paths, so this could be a day one issue. I should have something by Friday.
from constantcontact.
That is great, thanks so much. This has been a really fun project and it has only been possible due to this project of your, I really appreciate it.
We have run into this issue so many times recently when updating to the latest Contao 4.13 which requires PHP 8.0 or higher, they made a change where you basically can't pass null. I think this would be easily fixed by just writing a manual check "If null, ignore", I've had to do it over and over updating custom projects to the newer PHP version.
If your busy, I can possibly try and hunt the link down and push an edit myself, but I will be patient and look out for your update.
Thanks again.
from constantcontact.
I just looked a the code. I require session support to be turned on. Make sure that is on. Will try to see if I can figure out a way to require it in composer. If session support is on, try hacking line 492 of Client.php to:
$value = $_SESSION[$key] ?? '';
I will add that in the next release (Thursday I hope for PHP 8.2 support).
Also just FYI, it looks like you might be including the vendor directory in the public_html directory, which is BAD!!!! If so, move composer.json to /home/framework, the do composer install from that directory. You will just need to change your autoload.php include path and the rest should work.
from constantcontact.
Session support is on, I am doing all of this through the Contao CMS and it would not work without it. I tried calling it just to be sure and it didn't make a difference.
As for vendor being in public_html, that is how Contao does it. They have you change the root directory to 'public_html/web' during installation, composer and their packages sit one up from that in what is usually the root 'public_html'. Thanks for the advice though, much appreciated.
I will try this fix for now and let you know how it goes.
from constantcontact.
Good to know. Check out the Client::setSessionHandler as well.
I will be releasing a PHP 8.2 version today or tomorrow. Let me know what you find.
Thanks
from constantcontact.
Perfect, that fix did work. Thanks. I will update to the official release once its out.
from constantcontact.
New release available. Thanks for the heads up on this.
from constantcontact.
Related Issues (19)
- New endpoints, current ones expiring March 31 HOT 19
- Contact Delete Returns an error HOT 3
- Contact Delete returns false? HOT 3
- How to use setSessionCallback? HOT 4
- Session handler and samesite cookies. HOT 4
- Get all contacts that have pagination HOT 12
- http_build_param Issue HOT 4
- Using API without authorization process HOT 7
- Empty tokens returned HOT 9
- invalid_grant: The refresh token is invalid or expired. HOT 11
- Long lived token still returning empty refresh token HOT 9
- PHPDoc Issue for @var HOT 3
- Request for PHP 7.4 support. HOT 2
- Token vars blank after calling RefreshToken HOT 5
- ContactList returns nothing HOT 2
- Examples on how to add a contact HOT 5
- Custom fields exist but are not populated on JsonImportContact HOT 9
- List of Campaigns HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from constantcontact.