We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52631
    • 15 Posts
    Revolution 2.6.1
    mysql 5.6.39-83.1
    php 7.0.24

    Hello, in the logs I found the error sad Help me fix it, please!

    [2018-04-20 08:34:20] (ERROR @ .../components/getyoutube/model/getyoutube/search.class.php : 178) PHP warning: implode(): Invalid arguments passed
    [2018-04-20 08:47:06] (ERROR @ .../components/getyoutube/model/getyoutube/search.class.php : 178) PHP warning: implode(): Invalid arguments passed
    [2018-04-20 08:48:31] (ERROR @ .../components/getyoutube/model/getyoutube/search.class.php : 178) PHP warning: implode(): Invalid arguments passed
    [2018-04-20 09:16:18] (ERROR @ .../components/getyoutube/model/getyoutube/search.class.php : 178) PHP warning: implode(): Invalid arguments passed
    [2018-04-20 09:17:18] (ERROR @ .../components/getyoutube/model/getyoutube/search.class.php : 178) PHP warning: implode(): Invalid arguments passed
    [2018-04-20 09:27:33] (ERROR @ .../components/getyoutube/model/getyoutube/search.class.php : 178) PHP warning: implode(): Invalid arguments passed
    [2018-04-20 09:29:57] (ERROR @ .../components/getyoutube/model/getyoutube/search.class.php : 178) PHP warning: implode(): Invalid arguments passed
    [2018-04-20 09:35:18] (ERROR @ .../components/getyoutube/model/getyoutube/search.class.php : 178) PHP warning: implode(): Invalid arguments passed
    [2018-04-20 09:35:37] (ERROR @ .../xpdo/om/xpdoobject.class.php : 240) Error HY000 executing statement: 
    Array
    (
        [0] => HY000
        [1] => 2014
        [2] => Cannot execute queries while other unbuffered queries are active.  Consider using PDOStatement::fetchAll().  Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
    )
    
    [2018-04-20 09:35:37] (ERROR @ .../xpdo/om/xpdoobject.class.php : 1452) Error HY000 executing statement:
    INSERT INTO `modx_c19z7kxx3r_session` (`id`, `access`, `data`) VALUES ('ijk047qt5hgtgtd8b2fires253', 1524206137, 'modx.user.0.resourceGroups|a:1:{s:4:\"yolo\";a:0:{}}modx.user.0.attributes|a:1:{s:4:\"yolo\";a:5:{s:16:\"modAccessContext\";a:2:{s:3:\"web\";a:1:{i:0;a:3:{s:9:\"principal\";i:0;s:9:\"authority\";s:1:\"0\";s:6:\"policy\";a:1:{s:4:\"load\";b:1;}}}s:4:\"yolo\";a:1:{i:0;a:3:{s:9:\"principal\";i:0;s:9:\"authority\";s:1:\"0\";s:6:\"policy\";a:1:{s:4:\"load\";b:1;}}}}s:22:\"modAccessResourceGroup\";a:0:{}s:17:\"modAccessCategory\";a:0:{}s:28:\"sources.modAccessMediaSource\";a:0:{}s:18:\"modAccessNamespace\";a:0:{}}}')
    Array
    (
        [0] => HY000
        [1] => 2014
        [2] => Cannot execute queries while other unbuffered queries are active.  Consider using PDOStatement::fetchAll().  Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
    )
    
    [2018-04-20 09:35:37] (ERROR @ Unknown0) PHP warning: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp/u0435815)
    [2018-04-20 09:50:27] (ERROR @ .../components/getyoutube/model/getyoutube/search.class.php : 178) PHP warning: implode(): Invalid arguments passed
    [2018-04-20 09:54:14] (ERROR @ .../components/getyoutube/model/getyoutube/search.class.php : 178) PHP warning: implode(): Invalid arguments passed
    [2018-04-20 09:59:18] (ERROR @ .../xpdo/om/xpdoobject.class.php : 240) Error HY000 executing statement: 
    Array
    (
        [0] => HY000
        [1] => 2014
        [2] => Cannot execute queries while other unbuffered queries are active.  Consider using PDOStatement::fetchAll().  Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
    )
    
    [2018-04-20 09:59:18] (ERROR @ .../xpdo/om/xpdoobject.class.php : 1452) Error HY000 executing statement:
    INSERT INTO `modx_c19z7kxx3r_session` (`id`, `access`, `data`) VALUES ('2trtq6cslvisqktcro3rg7t824', 1524207558, 'modx.user.0.resourceGroups|a:1:{s:4:\"yolo\";a:0:{}}modx.user.0.attributes|a:1:{s:4:\"yolo\";a:5:{s:16:\"modAccessContext\";a:2:{s:3:\"web\";a:1:{i:0;a:3:{s:9:\"principal\";i:0;s:9:\"authority\";s:1:\"0\";s:6:\"policy\";a:1:{s:4:\"load\";b:1;}}}s:4:\"yolo\";a:1:{i:0;a:3:{s:9:\"principal\";i:0;s:9:\"authority\";s:1:\"0\";s:6:\"policy\";a:1:{s:4:\"load\";b:1;}}}}s:22:\"modAccessResourceGroup\";a:0:{}s:17:\"modAccessCategory\";a:0:{}s:28:\"sources.modAccessMediaSource\";a:0:{}s:18:\"modAccessNamespace\";a:0:{}}}')
    Array
    (
        [0] => HY000
        [1] => 2014
        [2] => Cannot execute queries while other unbuffered queries are active.  Consider using PDOStatement::fetchAll().  Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
    )
    
    [2018-04-20 09:59:18] (ERROR @ Unknown0) PHP warning: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp/u0435815)
    
      • 3749
      • 24,544 Posts
      PHP 7.0 has some known bugs, so you might start by updating PHP to 7.1, which is more reliable.

      It's also possible that GetYouTube isn't compatible with the current version of MODX. You can report it as an issue here: https://github.com/tasianmedia/getYoutube/issues
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting