[GH-ISSUE #1051] Ignore - Duplicate issue - remade to follow the issue template in #1052 #696

Closed
opened 2026-02-25 22:37:51 +03:00 by kerem · 6 comments
Owner

Originally created by @0cwa on GitHub (Feb 26, 2022).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1051

I've been getting this same error referenced in #992 since installing floccus weeks ago:
Syncing failed with E020: Could not parse server response.

I get this same error despite reinstalling bookmarks and floccus, and running the troubleshooting guide, here are the logs:

  Error    index              Exception: Argument 1 passed to GuzzleHttp\Psr7\Uri::__construct() must be of the type string, null given,  2022-02-11T04:05:03+00:00 
                              called in /var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php on line 44 in file                                 
                              '/var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php' line 79 at                                                     
                              lib/private/AppFramework/Http/Dispatcher.php line 158                                                                                 
                                                                                                                                                                    
                              0. lib/private/AppFramework/App.php line 157                                                                                          
                                 OC\AppFramework\Http\Dispatcher->dispatch(                                                                                         
                                                                                                                                                                    
                                 )                                                                                                                                  
                              1. lib/private/Route/Router.php line 302                                                                                              
                                 OC\AppFramework\App::main(                                                                                                         
                                                                                                                                                                    
                                 )                                                                                                                                  
                              2. lib/base.php line 1006                                                                                                             
                                 OC\Route\Router->match(                                                                                                            
                                                                                                                                                                    
                                 )                                                                                                                                  
                              3. index.php line 36                                                                                                                  
                                 OC::handleRequest(                                                                                                                 
                                                                                                                                                                    
                                 )                                                                                                                                  
                                                                                                                                                                    
                              Caused by TypeError: Argument 1 passed to GuzzleHttp\Psr7\Uri::__construct() must be of the type string, null given,                           
                              called in /var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php on line 44 at                                      
                              apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php line 79                                                                             
                                                                                                                                                                    
                               0. apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php line 44                                                                     
                                  GuzzleHttp\Psr7\Uri->__construct(                                                                                                 
                                                                                                                                                                    
                                  )                                                                                                                                 
                               1. apps/bookmarks/lib/Http/RequestFactory.php line 26                                                                                
                                  GuzzleHttp\Psr7\Request->__construct(                                                                                             
                                                                                                                                                                    
                                  )                                                                                                                                 
                               2. .../link-preview/src/Models/Link.php line 60                                                                                      
                                  OCA\Bookmarks\Http\RequestFactory->createRequest(                                                                                 
                                                                                                                                                                    
                                  )                                                                                                                                 
                               3. .../marcelklehr/link-preview/src/Models/Link.php line 69                                                                          
                                  Marcelklehr\LinkPreview\Models\Link->fetch(                                                                                       
                                                                                                                                                                    
                                  )                                                                                                                                 
                               4. .../bookmarks/lib/Service/LinkExplorer.php line 54                                                                                
                                  Marcelklehr\LinkPreview\Models\Link->getPreview(                                                                                  
                                                                                                                                                                    
                                  )                                                                                                                                 
                               5. apps/bookmarks/lib/Service/BookmarkService.php line 190                                                                           
                                  OCA\Bookmarks\Service\LinkExplorer->get(                                                                                          
                                                                                                                                                                    
                                  )                                                                                                                                 
                               6. .../lib/Service/BookmarkService.php line 141                                                                                      
                                  OCA\Bookmarks\Service\BookmarkService->_addBookmark(                                                                              
                                                                                                                                                                    
                                  )                                                                                                                                 
                               7. .../lib/Controller/BookmarkController.php line 420                                                                                
                                  OCA\Bookmarks\Service\BookmarkService->create(                                                                                    
                                                                                                                                                                    
                                  )                                                                                                                                 
                               8. .../Http/Dispatcher.php line 217                                                                                                  
                                  OCA\Bookmarks\Controller\BookmarkController->newBookmark(                                                                         
                                                                                                                                                                    
                                  )                                                                                                                                 
                               9. .../AppFramework/Http/Dispatcher.php line 126                                                                                     
                                  OC\AppFramework\Http\Dispatcher->executeController(                                                                               
                                                                                                                                                                    
                                  )                                                                                                                                 
                              10. lib/private/AppFramework/App.php line 157                                                                                         
                                  OC\AppFramework\Http\Dispatcher->dispatch(                                                                                        
                                                                                                                                                                    
                                  )                                                                                                                                 
                              11. lib/private/Route/Router.php line 302                                                                                             
                                  OC\AppFramework\App::main(                                                                                                        
                                                                                                                                                                    
                                  )                                                                                                                                 
                              12. lib/base.php line 1006                                                                                                            
                                  OC\Route\Router->match(                                                                                                           
                                                                                                                                                                    
                                  )                                                                                                                                 
                              13. index.php line 36                                                                                                                 
                                  OC::handleRequest(                                                                                                                
                                                                                                                                                                    
                                  )                                                                                                                                 

  Error    PHP                Error: Undefined offset: 0 at                                                                               2022-02-11T04:05:03+00:00 
                              /var/www/nextcloud/apps/bookmarks/vendor/marcelklehr/link-preview/src/Models/Link.php#55 at                                           
                              lib/private/Log/ErrorHandler.php line 92                                                                                              
                                                                                                                                                                    
                               0. .../vendor/marcelklehr/link-preview/src/Models/Link.php line 55                                                                   
                                  OC\Log\ErrorHandler::onError(                                                                                                     
                                                                                                                                                                    
                                  )                                                                                                                                 
                               1. .../marcelklehr/link-preview/src/Models/Link.php line 69                                                                          
                                  Marcelklehr\LinkPreview\Models\Link->fetch(                                                                                       
                                                                                                                                                                    
                                  )                                                                                                                                 
                               2. .../bookmarks/lib/Service/LinkExplorer.php line 54                                                                                
                                  Marcelklehr\LinkPreview\Models\Link->getPreview(                                                                                  
                                                                                                                                                                    
                                  )                                                                                                                                 
                               3. apps/bookmarks/lib/Service/BookmarkService.php line 190                                                                           
                                  OCA\Bookmarks\Service\LinkExplorer->get(                                                                                          
                                                                                                                                                                    
                                  )                                                                                                                                 
                               4. .../lib/Service/BookmarkService.php line 141                                                                                      
                                  OCA\Bookmarks\Service\BookmarkService->_addBookmark(                                                                              
                                                                                                                                                                    
                                  )                                                                                                                                 
                               5. .../lib/Controller/BookmarkController.php line 420                                                                                
                                  OCA\Bookmarks\Service\BookmarkService->create(                                                                                    
                                                                                                                                                                    
                                  )                                                                                                                                 
                               6. .../Http/Dispatcher.php line 217                                                                                                  
                                  OCA\Bookmarks\Controller\BookmarkController->newBookmark(                                                                         
                                                                                                                                                                    
                                  )                                                                                                                                 
                               7. .../AppFramework/Http/Dispatcher.php line 126                                                                                     
                                  OC\AppFramework\Http\Dispatcher->executeController(                                                                               
                                                                                                                                                                    
                                  )                                                                                                                                 
                               8. lib/private/AppFramework/App.php line 157                                                                                         
                                  OC\AppFramework\Http\Dispatcher->dispatch(                                                                                        
                                                                                                                                                                    
                                  )                                                                                                                                 
                               9. lib/private/Route/Router.php line 302                                                                                             
                                  OC\AppFramework\App::main(                                                                                                        
                                                                                                                                                                    
                                  )                                                                                                                                 
                              10. lib/base.php line 1006                                                                                                            
                                  OC\Route\Router->match(                                                                                                           
                                                                                                                                                                    
                                  )                                                                                                                                 
                              11. index.php line 36                                                                                                                 
                                  OC::handleRequest(                                                                                                                
                                                                                                                                                                    
                                  )                                                                                                                                 



Originally posted by @0cwa in https://github.com/floccusaddon/floccus/issues/992#issuecomment-1035866892

Originally created by @0cwa on GitHub (Feb 26, 2022). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1051 I've been getting this same error referenced in #992 since installing floccus weeks ago: `Syncing failed with E020: Could not parse server response. ` I get this same error despite reinstalling bookmarks and floccus, and running the troubleshooting guide, here are the logs: ``` Error index Exception: Argument 1 passed to GuzzleHttp\Psr7\Uri::__construct() must be of the type string, null given, 2022-02-11T04:05:03+00:00 called in /var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php on line 44 in file '/var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php' line 79 at lib/private/AppFramework/Http/Dispatcher.php line 158 0. lib/private/AppFramework/App.php line 157 OC\AppFramework\Http\Dispatcher->dispatch( ) 1. lib/private/Route/Router.php line 302 OC\AppFramework\App::main( ) 2. lib/base.php line 1006 OC\Route\Router->match( ) 3. index.php line 36 OC::handleRequest( ) Caused by TypeError: Argument 1 passed to GuzzleHttp\Psr7\Uri::__construct() must be of the type string, null given, called in /var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php on line 44 at apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php line 79 0. apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php line 44 GuzzleHttp\Psr7\Uri->__construct( ) 1. apps/bookmarks/lib/Http/RequestFactory.php line 26 GuzzleHttp\Psr7\Request->__construct( ) 2. .../link-preview/src/Models/Link.php line 60 OCA\Bookmarks\Http\RequestFactory->createRequest( ) 3. .../marcelklehr/link-preview/src/Models/Link.php line 69 Marcelklehr\LinkPreview\Models\Link->fetch( ) 4. .../bookmarks/lib/Service/LinkExplorer.php line 54 Marcelklehr\LinkPreview\Models\Link->getPreview( ) 5. apps/bookmarks/lib/Service/BookmarkService.php line 190 OCA\Bookmarks\Service\LinkExplorer->get( ) 6. .../lib/Service/BookmarkService.php line 141 OCA\Bookmarks\Service\BookmarkService->_addBookmark( ) 7. .../lib/Controller/BookmarkController.php line 420 OCA\Bookmarks\Service\BookmarkService->create( ) 8. .../Http/Dispatcher.php line 217 OCA\Bookmarks\Controller\BookmarkController->newBookmark( ) 9. .../AppFramework/Http/Dispatcher.php line 126 OC\AppFramework\Http\Dispatcher->executeController( ) 10. lib/private/AppFramework/App.php line 157 OC\AppFramework\Http\Dispatcher->dispatch( ) 11. lib/private/Route/Router.php line 302 OC\AppFramework\App::main( ) 12. lib/base.php line 1006 OC\Route\Router->match( ) 13. index.php line 36 OC::handleRequest( ) Error PHP Error: Undefined offset: 0 at 2022-02-11T04:05:03+00:00 /var/www/nextcloud/apps/bookmarks/vendor/marcelklehr/link-preview/src/Models/Link.php#55 at lib/private/Log/ErrorHandler.php line 92 0. .../vendor/marcelklehr/link-preview/src/Models/Link.php line 55 OC\Log\ErrorHandler::onError( ) 1. .../marcelklehr/link-preview/src/Models/Link.php line 69 Marcelklehr\LinkPreview\Models\Link->fetch( ) 2. .../bookmarks/lib/Service/LinkExplorer.php line 54 Marcelklehr\LinkPreview\Models\Link->getPreview( ) 3. apps/bookmarks/lib/Service/BookmarkService.php line 190 OCA\Bookmarks\Service\LinkExplorer->get( ) 4. .../lib/Service/BookmarkService.php line 141 OCA\Bookmarks\Service\BookmarkService->_addBookmark( ) 5. .../lib/Controller/BookmarkController.php line 420 OCA\Bookmarks\Service\BookmarkService->create( ) 6. .../Http/Dispatcher.php line 217 OCA\Bookmarks\Controller\BookmarkController->newBookmark( ) 7. .../AppFramework/Http/Dispatcher.php line 126 OC\AppFramework\Http\Dispatcher->executeController( ) 8. lib/private/AppFramework/App.php line 157 OC\AppFramework\Http\Dispatcher->dispatch( ) 9. lib/private/Route/Router.php line 302 OC\AppFramework\App::main( ) 10. lib/base.php line 1006 OC\Route\Router->match( ) 11. index.php line 36 OC::handleRequest( ) ``` _Originally posted by @0cwa in https://github.com/floccusaddon/floccus/issues/992#issuecomment-1035866892_
Author
Owner

@github-actions[bot] commented on GitHub (Feb 26, 2022):

Hi @0cwa! This issue is being automatically closed because it does not follow the issue template.

<!-- gh-comment-id:1051383607 --> @github-actions[bot] commented on GitHub (Feb 26, 2022): Hi @0cwa! This issue is being automatically closed because it does not follow the issue template.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 26, 2022):

Hi @0cwa! This issue is being automatically closed because it does not follow the issue template.

<!-- gh-comment-id:1051392289 --> @github-actions[bot] commented on GitHub (Feb 26, 2022): Hi @0cwa! This issue is being automatically closed because it does not follow the issue template.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 26, 2022):

Hi @0cwa! This issue is being automatically closed because it does not follow the issue template.

<!-- gh-comment-id:1051392433 --> @github-actions[bot] commented on GitHub (Feb 26, 2022): Hi @0cwa! This issue is being automatically closed because it does not follow the issue template.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 26, 2022):

Hi @0cwa! This issue is being automatically closed because it does not follow the issue template.

<!-- gh-comment-id:1051392471 --> @github-actions[bot] commented on GitHub (Feb 26, 2022): Hi @0cwa! This issue is being automatically closed because it does not follow the issue template.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 26, 2022):

Hi @0cwa! This issue is being automatically closed because it does not follow the issue template.

<!-- gh-comment-id:1051392576 --> @github-actions[bot] commented on GitHub (Feb 26, 2022): Hi @0cwa! This issue is being automatically closed because it does not follow the issue template.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 20, 2023):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:1476307070 --> @github-actions[bot] commented on GitHub (Mar 20, 2023): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#696
No description provided.