Description
- [ x ] I have searched open and closed issues for duplicates
Bug Description
Connecting an account under php7.4 is not possible. Message: Could not connect to Tumblr. Refresh the page or try again later.
IMPORTANT: From php 8.0 the login works without problems.
Steps to Reproduce
- settings
- social networks
- tumblr export addon
- (Re-)Authentication of your tumblr page
- could not connect to Tumblr. Refresh the page or try again later.
Actual Result:
Message: Could not connect to Tumblr. Refresh the page or try again later.
2023-04-23T05:58:59Z index [NOTICE]: E_NOTICE: session_start(): A session had already been started - ignoring {"code":8,"message":"session_start(): A session had already been started - ignoring","file":"/var/www/html/friendica/addon/tumblr/tumblr.php","line":98} - {"file":null,"line":null,"function":"session_start","request-id":"6444c923aded7","uid":"274395","process_id":25599}
2023-04-23T05:58:59Z index [NOTICE]: E_NOTICE: Undefined index: oauth_token {"code":8,"message":"Undefined index: oauth_token","file":"/var/www/html/friendica/addon/tumblr/tumblr.php","line":119} - {"file":"tumblr.php","line":119,"function":"tumblr_connect","request-id":"6444c923aded7","uid":"274395","process_id":25599} 2023-04-23T05:58:59Z index [NOTICE]: E_NOTICE: Undefined index: oauth_token_secret {"code":8,"message":"Undefined index: oauth_token_secret","file":"/var/www/html/friendica/addon/tumblr/tumblr.php","line":120} - {"file":"tumblr.php","line":120,"function":"tumblr_connect","request-id":"6444c923aded7","uid":"274395","process_id":25599}
Expected Result:
The account is (re-)authenticated
Platform Info
Friendica Version: RC 1518
Friendica Source: github
PHP version: 7.4
SQL version: 10.3