Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Class 'Recurly_Client' not found" after the recurly.php __DIR__ change #434

Closed
SinusPi opened this issue Sep 20, 2019 · 0 comments · Fixed by #433
Closed

"Class 'Recurly_Client' not found" after the recurly.php __DIR__ change #434

SinusPi opened this issue Sep 20, 2019 · 0 comments · Fixed by #433
Labels
bug V2 V2 Client

Comments

@SinusPi
Copy link

SinusPi commented Sep 20, 2019

Describe the bug

Class 'Recurly_Client' not found. And unless just plain strings in the recurly.php file work as require_once calls, it seems quite obvious what went wrong, The file used to require_once all the library files, and now it contains just plain, __DIR__-magicked, file names.

To Reproduce

Using the commit 97f093b:

require_once('recurly-client-php/lib/recurly.php');
Recurly_Client::$subdomain = "foo";

@SinusPi SinusPi added the bug? label Sep 20, 2019
@bhelx bhelx added bug and removed bug? labels Sep 20, 2019
@bhelx bhelx added the V2 V2 Client label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug V2 V2 Client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants