Circular
Circular copied to clipboard
Unknown Twitter API error
I am getting Unknown Twitter API error when I try to login. Seems like this is an issue. Any Idea why?
+1
+1
+1
WHEN FIX..NEED
Hello- I'm just wondering if there is an update on this at all. From what I can tell, the program is completely un-usable until this is fixed?
This project is dead. Had a friend look at it. Here's his feedback.
Ton of errors,Also tried changing this: public function __construct(\MongoCollection $collection, \Psr\Log\LoggerInterface $logger) //original to this: //public function __construct(\MongoDB\Collection $collection, \Psr\Log\LoggerInterface $logger) in: /var/www/html/folder/api/vendor/altmetric/mongo-session-handler/src/MongoSessionHandler.php
I've tried a few things. I don't think there is an easy solution. The Mongo Driver has been refactor for PHP 7 and the app itself rely on the older driver. We would have to change a lot of third party code to make it work.
For example.
public function __construct() {
// $m = new MongoClient;
$m = new MongoDB\Driver\Manager("mongodb://localhost:27017");
// $m = new MongoDB\Client("mongodb://localhost:27017");
$logger = new Psr\Log\NullLogger;
parent::__construct($m->circular->sessions, $logger);
}
The driver gets created properly but "parent::__construct($m->circular->sessions, $logger);" fails because the driver does not have a property "circular".
I don't think it is a sustainable solution to patch the code as any OS update could overwrite libraries...
Maybe use a older version of LAMP or install the app in a more self contained manner.That's the one thing I don't like about bundled app, it is not easy to control the dependencies.
Here is a link to someone who was working on a docker image. https://github.com/julien-c/Circular/issues/70 Unfortunately, the docker file is incomplete. The dude is facing the same issue that we have.