ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,712
- Points
- 823
Reputation:
The failure of
PHP:
Read more
Continue reading...
\XF\Repository\Thread::getThreadFromUrl
function when executed from the CLI is due to the \XF\Request not being in the expected state.getThreadFromUrl
eventually calls \XF\Request::getHost
which returns false, which results in the routeToController
method not getting the data it expects and thus failing to matchPHP:
Code:
public function getThreadFromUrl($url, $type = null, &$error = null)
{
$routePath =...
Read more
Continue reading...