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

Undefined variable $response_headers #40

Open
litebito opened this issue Feb 1, 2025 · 0 comments
Open

Undefined variable $response_headers #40

litebito opened this issue Feb 1, 2025 · 0 comments

Comments

@litebito
Copy link

litebito commented Feb 1, 2025

Hi,

on my fresh, new installation, I now always get Undefined variable $response_headers when using the api (php client)
the API does return data, so a bug in getting the response header itself?

My installation:

  • PHP 8.3.15
  • phpipam 1.7.3
# php example.php


PHP Warning:  Undefined variable $response_headers in /var/www/html/ipam/functions/scripts/example.php on line 35
Array
(
    [code] => 200
    [success] => 1
    [data] => 10.0.2.2
    [time] => 0.013
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant