AbaddonOrmuz wrote: ↑Wed Jan 02, 2019 2:32 am
You should not use a MOD if you're using phpBB 3.1.x or greater, and this forum currently only provides support for phpBB 3.2.x.
As the error says, you should not use the superglobal variable
$_SERVER
,
$request->server()
should be used instead.
And on a side note, I've made a extension (currently in development) for Open Graph, Twitter Cards and JSON-LD:
viewtopic.php?t=2478391
If by MOD do you mean me playing with the code? I haven't installed anything to add that code, just copy and pasted it from a helpful thread. I reverted back to the old functions.php file and all was good. I really don't need anything too crazy, just wanted to make sure that the Facebook previews were correct, and with that section of the URL dropped, they were showing incorrectly.
Maybe you could elaborate on your
$request->server()
statement. Should that replace the
$_SERVER
in the line of code? If so, I can give it a go and see what happens, and just revert back if it breaks the site again...
My forum is running 3.2.3 currently
Thanks for your help!