Hi @xfrocks i have tried the manually sync on WP in your plugin settings and i have two warnings messages: Code: Warning: file_get_contents(http://www.macroforum.org/api/index.php?posts/&thread_id=23593&page=1&order=natural_reverse&oauth_token=): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/emtvqmnh/public_html/blog/wp-content/plugins/xenforo-api-consumer/includes/helper/api.php on line 310 Warning: Cannot modify header information - headers already sent by (output started at /home/emtvqmnh/public_html/blog/wp-content/plugins/xenforo-api-consumer/includes/helper/api.php:310) in /home/emtvqmnh/public_html/blog/wp-includes/pluggable.php on line 896 and in XenForo Log error i have 70 pages of this error Code: ErrorException: Array to string conversion - library/bdApi/ControllerApi/Thread.php:40 Generato Da: Account Sconosciuto, 3 minuti fa Analisi dello Stack #0 [internal function]: XenForo_Application::handlePhpError(8, 'Array to string...', '/home/emtvqmnh/...', 40, Array) #1 /home/emtvqmnh/public_html/library/bdApi/ControllerApi/Thread.php(40): array_unique(Array) #2 /home/emtvqmnh/public_html/library/XenForo/FrontController.php(347): bdApi_ControllerApi_Thread->actionGetIndex() #3 /home/emtvqmnh/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #4 /home/emtvqmnh/public_html/api/index.php(71): XenForo_FrontController->run() #5 {main} Stato Richiesta array(3) { ["url"] => string(404) "http://www.macroforum.org/api/index.php?threads/&forum_id=236,237,238,239,253,254,255,256,257,258,259,261,262,263,264,266,275,276,277,278,279,280,286,295,301,302,303,304,305,334,337,338,339,341,354,362,365,366,374,378,380,381,382,383,384,385,386,387,402,410,412,414,423,424,425,426,427,428,429,433,434,435,436,443,444,445,453&page=1&order=thread_create_date_reverse&oauth_token=&_xfac=threads.php&limit=5" ["_GET"] => array(7) { ["threads/"] => string(0) "" ["forum_id"] => string(267) "236,237,238,239,253,254,255,256,257,258,259,261,262,263,264,266,275,276,277,278,279,280,286,295,301,302,303,304,305,334,337,338,339,341,354,362,365,366,374,378,380,381,382,383,384,385,386,387,402,410,412,414,423,424,425,426,427,428,429,433,434,435,436,443,444,445,453" ["page"] => string(1) "1" ["order"] => string(26) "thread_create_date_reverse" ["oauth_token"] => string(0) "" ["_xfac"] => string(11) "threads.php" ["limit"] => string(1) "5" } ["_POST"] => array(0) { } }
Looks like you deleted the thread and triggered the first error. Regarding the 70 pages issue, I'm looking into it.
anto74 @xfrocks Yes, the thread ID was test thread for testing addon. The error in XF i think is related to warning in WP....is generated after 2-3 minutes
anto74 @xfrocks Ok, widget disabled, sync manually....the same two warnings messages in WP, but now nothing errors in XF
That's expected. The warning for manual sync will stay there for days unless you delete the respective WordPress post. Now, I have to dig into the errors.
Hi there, Please get the new version here, it includes bug fix for your issue. http://xenforo.com/community/resources/bd-api.1732/
panda @xfrocks How to upgrade it? Overwrite the api folder in server? Any further configure required?
Just upload files in upload directory in the package (the same way when you installed it). Then reimport the XML.