podio-php icon indicating copy to clipboard operation
podio-php copied to clipboard

podio php api not working anymore on php 8.0.17

Open jespyxis opened this issue 3 years ago • 1 comments

Everything was working and still works locally with version 7. However, with version 8.0.17 require_once 'podio-php/PodioAPI.php'; fails, I get HTTP 500 response. Further investigation has shown that the following 👍

require_once 'lib/PodioError.php';

and

require_once 'models/PodioItemField.php';

are causing the problem.

I am using the same PodioAPI.php that I was using with 7.0. Perhaps someone can help on this...

jespyxis avatar Apr 21 '22 20:04 jespyxis

Hi @jespyxis

are you using the suggested setup with composer? In that case you should require __DIR__ . '/vendor/autoload.php';.. If not, I'd highly recommend using composer :)

Best Daniel

daniel-sc avatar Apr 22 '22 14:04 daniel-sc

hi, is it only possible with composer? i can´t install software to my server (rented) and it seems that i can not install it locally on my mac (m1, monterey)..... i just want to update the api files....what am i missing?

Christoph111 avatar Feb 01 '23 16:02 Christoph111

@Christoph111 yes - this is only usable with composer. There is plenty documentation online on how to use composer, so I won't go into details - for a start: https://getcomposer.org

daniel-sc avatar Feb 01 '23 16:02 daniel-sc