Coder Social home page Coder Social logo

Comments (7)

phpfui avatar phpfui commented on September 17, 2024

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.

bright-cloud-studio avatar bright-cloud-studio commented on September 17, 2024

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.

phpfui avatar phpfui commented on September 17, 2024

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.

bright-cloud-studio avatar bright-cloud-studio commented on September 17, 2024

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.

phpfui avatar phpfui commented on September 17, 2024

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.

bright-cloud-studio avatar bright-cloud-studio commented on September 17, 2024

Perfect, that fix did work. Thanks. I will update to the official release once its out.

from constantcontact.

phpfui avatar phpfui commented on September 17, 2024

New release available. Thanks for the heads up on this.

from constantcontact.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.