In another thread I created a function that uses a get_header() on a url to find out song names from a streaming service. It works well, however I have encountered a problem on my hosting that I cannot solve.
It is on Stablepoint, I have contacted their chat support and I must say I am very very very disappointed in their help, so much so I have had to turn to here. They claim that the code is at error. I have tested this is not the case as I have 2 hosting comapanies and it works on the other and on my local...
What I cannot work out is what is the problem on Stablepoint. I am using the same PHP versions, 7.3.
There are a lot of Extension options i can enable but I do not know what any of them do.
The problem seems to be with the function calling the url, which is being blocked somehow or not working at all. It is not returning any data for the javascript to update the DOM. Initially it just returned a 500 error, I have since tried a different method and that doesn't return any data at all, both suffer from not being able to get the data from the URL.
I really am at a total loss what to do. Stablepoint won't help, they keep suggesting I use their sister company wordpress-fix (or something), but I know it's not my code. I have checked the error logs but nothing is showing up there either.
Any suggestions would be greatly appreciated.
It is on Stablepoint, I have contacted their chat support and I must say I am very very very disappointed in their help, so much so I have had to turn to here. They claim that the code is at error. I have tested this is not the case as I have 2 hosting comapanies and it works on the other and on my local...
What I cannot work out is what is the problem on Stablepoint. I am using the same PHP versions, 7.3.
There are a lot of Extension options i can enable but I do not know what any of them do.
The problem seems to be with the function calling the url, which is being blocked somehow or not working at all. It is not returning any data for the javascript to update the DOM. Initially it just returned a 500 error, I have since tried a different method and that doesn't return any data at all, both suffer from not being able to get the data from the URL.
I really am at a total loss what to do. Stablepoint won't help, they keep suggesting I use their sister company wordpress-fix (or something), but I know it's not my code. I have checked the error logs but nothing is showing up there either.
Any suggestions would be greatly appreciated.