Imported about 100 Threads within Comments, then stopped to import

  1. Nicky

    Nicky - Aug 27, 2016 New Member

    Credit
    Point
    hi,

    as mentioned..
    when i try it manually to run, getting this message

    PHP:
    An exception occurredurldecode() expects parameter 1 to be string, array given in /var/www/vhosts/XXXXXX/httpdocs/XXXXXX/library/Brivium/FacebookGroupToPosts/Deferred/FaceBookGroupToPost.php on line 347

        XenForo_Application
    ::handlePhpError()
        
    urldecode() in Brivium/FacebookGroupToPosts/Deferred/FaceBookGroupToPost.php at line 347
        Brivium_FacebookGroupToPosts_Deferred_FaceBookGroupToPost
    ->addPosts() in Brivium/FacebookGroupToPosts/Deferred/FaceBookGroupToPost.php at line 294
        Brivium_FacebookGroupToPosts_Deferred_FaceBookGroupToPost
    ->addThread() in Brivium/FacebookGroupToPosts/Deferred/FaceBookGroupToPost.php at line 105
        Brivium_FacebookGroupToPosts_Deferred_FaceBookGroupToPost
    ->getContentAndImport() in Brivium/FacebookGroupToPosts/Deferred/FaceBookGroupToPost.php at line 64
        Brivium_FacebookGroupToPosts_Deferred_FaceBookGroupToPost
    ->execute() in XenForo/Model/Deferred.php at line 295
        XenForo_Model_Deferred
    ->runDeferred() in XenForo/Model/Deferred.php at line 429
        XenForo_Model_Deferred
    ->_runInternal() in XenForo/Model/Deferred.php at line 374
        XenForo_Model_Deferred
    ->run() in XenForo/ViewRenderer/Abstract.php at line 352
        XenForo_ViewRenderer_Abstract
    ::hasManualDeferredToRun() in XenForo/ViewRenderer/HtmlAdmin.php at line 131
        XenForo_ViewRenderer_HtmlAdmin
    ->renderContainer() in XenForo/FrontController.php at line 639
        XenForo_FrontController
    ->renderView() in XenForo/FrontController.php at line 158
        XenForo_FrontController
    ->run() in /var/www/vhosts/XXXXXX/httpdocs/XXXXXX/admin.php at line 13
    [EDIT]
    here are much more details

    in admin panel, all those errors are reported..

    now i see
    "There are manual rebuild processes that have been stopped before completion. Click here to complete them."
    when i click on it, i will get the same error like above.

    when i DE-active the brivium addon, i will get this error:

    PHP:
    ErrorExceptionFatal ErrorCall to undefined method Audentio_UIX_Model_Thread::getThreadByFBPostIds() - library/Brivium/FacebookGroupToPosts/Deferred/FaceBookGroupToPost.php:101

    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    array(3) {
      [
    "url"] => string(47"https://DOMAIN.com/admin.php?tools/run-deferred"
      
    ["_GET"] => array(1) {
        [
    "tools/run-deferred"] => string(0""
      
    }
      [
    "_POST"] => array(3) {
        [
    "redirect"] => string(28"https://DOMAIN.com/admin.php"
        
    ["execute"] => string(1"1"
        
    ["_xfToken"] => string(8"********"
      
    }
    }
     
    Last edited: Aug 27, 2016
    Loading...
  2. Brivium

    Brivium - Aug 29, 2016 XenForo Services Staff Member

    Credit
    Point
    Could you please submit a ticket to our technical department which contains an admin account to debug your issue ?
     
    #2
  3. Nicky

    Nicky - Sep 1, 2016 New Member

    Credit
    Point
    ok, i think this is not needed.. started to import new "threads and comments from facebook" again, but every cron job (hourly) produce an server error log and is it always with same values, see below..
    i think there is something wrong with: https://brivium.com/threads/import-of-post-photos.5066/

    failure is on the line 347
    and that one is
    PHP:
                $imageUrl urldecode($comment['picture']);
    if you would like to have nevertheless admin account, to look on it, please reply... thank you!

    PHP:
    ErrorExceptionurldecode() expects parameter 1 to be string, array given library/Brivium/FacebookGroupToPosts/Deferred/FaceBookGroupToPost.php:347
    Generated By
    Unknown Account14 minutes ago
    PHP:
    #0 [internal function]: XenForo_Application::handlePhpError(2, 'urldecode() exp...', '/var/www/vhosts...', 347, Array)
    #1 /var/www/vhosts/OWNHOST/httpdocs/DOMAIN.COM/library/Brivium/FacebookGroupToPosts/Deferred/FaceBookGroupToPost.php(347): urldecode(Array)
    #2 /var/www/vhosts/OWNHOST/httpdocs/DOMAIN.COM/library/Brivium/FacebookGroupToPosts/Deferred/FaceBookGroupToPost.php(294): Brivium_FacebookGroupToPosts_Deferred_FaceBookGroupToPost->addPosts(Array, Array, Array)
    #3 /var/www/vhosts/OWNHOST/httpdocs/DOMAIN.COM/library/Brivium/FacebookGroupToPosts/Deferred/FaceBookGroupToPost.php(105): Brivium_FacebookGroupToPosts_Deferred_FaceBookGroupToPost->addThread(Array, Array)
    #4 /var/www/vhosts/OWNHOST/httpdocs/DOMAIN.COM/library/Brivium/FacebookGroupToPosts/Deferred/FaceBookGroupToPost.php(64): Brivium_FacebookGroupToPosts_Deferred_FaceBookGroupToPost->getContentAndImport(Array, 'https://graph.f...', 'next')
    #5 /var/www/vhosts/OWNHOST/httpdocs/DOMAIN.COM/library/XenForo/Model/Deferred.php(295): Brivium_FacebookGroupToPosts_Deferred_FaceBookGroupToPost->execute(Array, Array, 7.9999980926514, '')
    #6 /var/www/vhosts/OWNHOST/httpdocs/DOMAIN.COM/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999980926514, '', false)
    #7 /var/www/vhosts/OWNHOST/httpdocs/DOMAIN.COM/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
    #8 /var/www/vhosts/OWNHOST/httpdocs/DOMAIN.COM/deferred.php(23): XenForo_Model_Deferred->run(false)
    #9 {main}
    PHP:
    array(3) {
      [
    "url"] => string(31"https://DOMAIN.COM/deferred.php"
      
    ["_GET"] => array(0) {
      }
      [
    "_POST"] => array(4) {
        [
    "_xfRequestUri"] => string(9"/linkovi/"
        
    ["_xfNoRedirect"] => string(1"1"
        
    ["_xfToken"] => string(8"********"
        
    ["_xfResponseType"] => string(4"json"
      
    }
    }
     
    #3