XF 2.1 Getting a repeat server error

alternadiv

Well-known member
Code:
    Error: Undefined class constant 'ERROR_INVALID_PROVIDER' src/XF/Oembed/Controller.php:169

    Generated by: Unknown account Dec 12, 2018 at 11:11 PM

Stack trace

#0 src/XF/Oembed/Controller.php(71): XF\Oembed\Controller->validateOembedRequest('instagram', 'Bh0Jd15HFU8', NULL)
#1 oembed.php(26): XF\Oembed\Controller->outputJson('instagram', 'Bh0Jd15HFU8')
#2 {main}

Request state

array(4) {
  ["url"] => string(45) "/oembed.php?provider=instagram&id=Bh0Jd15HFU8"
  ["referrer"] => string(50) "https://www.tacoma3g.com/threads/guns-n-tacos.729/"
  ["_GET"] => array(2) {
    ["provider"] => string(9) "instagram"
    ["id"] => string(11) "Bh0Jd15HFU8"
  }
  ["_POST"] => array(0) {
  }
}

Delete
 
That really doesn't seem to make any sense. Are there any errors showing up in the file health check?

If not, I could only guess opcache corruption. Reuploading the files may actually help force it to recompile the files.
 
Are you still getting the error? You also had some other weird server stuff mentioned in a separate thread, so perhaps something just went wrong there before.
 
Yes I am. I have been having some weird problems with .htaccess and sub-domain redirects not working too suddenly. They've worked for months but broke even though I haven't changed anything. When attempting to visit my site from certain places, you would get redirected to this 400 error page with this link:
Code:
https://tacoma3g.com/%00$%EE%00%00%00%00%00%60$%EE
190582
 
At this point, I can really only recommend trying to upload the files again or -- if you have this access -- restart the web server/PHP server to try to resolve a potential opcode cache-related issue. Otherwise, you may need to contact your host to report some of the other oddities as it's possible they're related.

I've just done some testing and triggered the code that is erroring for you without any issue. Looking at the code, it also looks impossible as well.
 
At this point, I can really only recommend trying to upload the files again or -- if you have this access -- restart the web server/PHP server to try to resolve a potential opcode cache-related issue. Otherwise, you may need to contact your host to report some of the other oddities as it's possible they're related.

I've just done some testing and triggered the code that is erroring for you without any issue. Looking at the code, it also looks impossible as well.
I know this is an odd question, but do you happen to know where I could find a server admin that could work some of these things and general server security improvements out for me? I was thinking I should try to find a pro but I don't know where to look.
 
I was thinking I should try to find a pro but I don't know where to look.
@MattW is highly recommended (we use him as well ;) )

 
Back
Top Bottom