Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync is not working with emoncms version 11.0.2 #35

Closed
alexandrecuer opened this issue Dec 29, 2021 · 1 comment
Closed

sync is not working with emoncms version 11.0.2 #35

alexandrecuer opened this issue Dec 29, 2021 · 1 comment

Comments

@alexandrecuer
Copy link
Contributor

downloading a PHPFINA feed :

http://192.168.2.3/sync/download?name=temp&tag=TRH12211196_Cellule2&remoteid=56&interval=300&engine=5&datatype=1

return is :

Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /var/www/emoncms/Modules/feed/feed_model.php:126 Stack trace: #0 /var/www/emoncms/Modules/feed/feed_model.php(126): mysqli_stmt->execute() #1 /opt/emoncms/modules/sync/sync-module/sync_controller.php(152): Feed->create() #2 /var/www/emoncms/core.php(75): sync_controller() #3 /var/www/emoncms/index.php(242): controller() #4 {main} thrown in /var/www/emoncms/Modules/feed/feed_model.php on line 126

working fine with version 10.8.5 (stable)

return is success :

{"success":true}
@alexandrecuer
Copy link
Contributor Author

switching to the master branch of sync resolves the problem, I was on stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant