I cant delete a folder from favourites

Nextcloud version: 14.0.3
Operating system and version: Raspbian Strech (Debian for Raspberry Pi)
Apache or nginx version: Apache/2.4.25
PHP version: 7.0

The issue you are facing: I can’t delete a folder from favourites

Is this the first time you’ve seen this error?: Yes

Steps to replicate it:

  1. Added a folder to favourite, the folder is show in the first position
  2. I try to delete the folder from favourites because now I don’t want to see highlighted
  3. The folder go down to it’s position, ordered by name
  4. But when I refresh the screen, it rise to the first position and market with fav

The output of your Nextcloud log in Admin > Logging:

The log don’t show nothing related to favourites function.

Error	PHP	Cannot declare class GuzzleHttp\Handler\CurlFactory, because the name is already in use at /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php#16	3 days ago
Error	richdocuments	GuzzleHttp\Exception\RequestException: cURL error 3: <url> malformed (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)	3 days ago
Error	PHP	Cannot declare class GuzzleHttp\Handler\CurlFactory, because the name is already in use at /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php#16	3 days ago
Error	richdocuments	GuzzleHttp\Exception\RequestException: cURL error 3: <url> malformed (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)	3 days ago
Error	PHP	Cannot declare class GuzzleHttp\Handler\CurlFactory, because the name is already in use at /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php#16	3 days ago
Error	richdocuments	GuzzleHttp\Exception\RequestException: cURL error 3: <url> malformed (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)	3 days ago
Error	PHP	Cannot declare class GuzzleHttp\Handler\CurlFactory, because the name is already in use at /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php#16	3 days ago
Error	richdocuments	GuzzleHttp\Exception\RequestException: cURL error 3: <url> malformed (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)	3 days ago
Error	PHP	Cannot declare class Doctrine\DBAL\Driver\AbstractMySQLDriver, because the name is already in use at /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php#37	3 days ago
Error	richdocuments	Doctrine\DBAL\Exception\UniqueConstraintViolationException: An exception occurred while executing 'INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0' with params ["3", "22", 1540202142, 0, "cd36310ddcfae5d8233ba9e7bddc4fdb", 1540202142, 27, 22176, "", "e997723be49bf3262f76353aa1991177", "appdata_ocu75drfixe1\/richdocuments\/richdocuments\/discovery.xml", "discovery.xml", 1, 1, "e997723be49bf3262f76353aa1991177"]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-e997723be49bf3262f76353aa1991177' for key 'fs_storage_path_hash'	3 days ago
Fatal	webdav	Sabre\DAV\Exception\BadRequest: expected filesize 5718031 got 229376	3 days ago
Error	no app in context	Sabre\DAV\Exception\BadRequest: expected filesize 5718031 got 229376	3 days ago
Fatal	webdav	Sabre\DAV\Exception\BadRequest: expected filesize 212784924 got 115785728	3 days ago
Error	no app in context	Sabre\DAV\Exception\BadRequest: expected filesize 212784924 got 115785728

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => ******************,
  'passwordsalt' =>  ******************
  'secret' =>  ******************
  'trusted_domains' => 
  array (
    0 =>  ******************
    1 =>  ******************
  ),
  'datadirectory' => '/mnt/HDD1/ ******************',
  'overwrite.cli.url' =>  ******************
  'dbtype' => 'mysql',
  'version' => '14.0.3.0',
  'dbname' => ' ******************DB',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => ' ******************',
  'dbpassword' => ' ******************',
  'installed' => true,
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'loglevel' => 1,
  'mail_smtpmode' => 'smtp',
  'filelocking.enabled' => true,

  'preview_max_x' => 100,
  'preview_max_y' => 100,
  'preview_max_filesize_image' => 1,
  'maintenance' => false,
  'theme' => '',
);