[RSS Feed/News] "RecursiveIteratorIterator" Not Found

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Does xF just not like RecursiveIteratorIterator? This code worked on a non xF test page. Is it a nesting issue?

1680191004002.png

PHP:

Code:
<?php
namespace ycard;

class ycard{
    public static function getYcard(\XF\Pub\Controller\AbstractController $controller, \XF\Mvc\Reply\AbstractReply &$reply) {
$url = 'https://db.ygoprodeck.com/api/v7/cardinfo.php';
$parameter = $_SERVER['QUERY_STRING'];
$request_url = $url . '?' . $parameter;

$curl = curl_init($request_url);

curl_setopt($curl...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom