Describe the bug
Using the Application shareX with yourls url shortner, the application does not get the short url, throwing only a PHP Error in the server log.
To Reproduce
Steps to reproduce the behavior. This is mandatory if you expect someone to fix the problem. Example:
Expected behavior
Getting the shorturl in the shareX Application window, after uploading any files from your pc or using the option " Upload > Shorten URL "
Actual behavior
shareX application throws a " success ", but gives you only a full url instead of short and full url.
It successful shortens the URL (Adminpanel), but fails to get the short url?
Screenshots


Versions
YOURLS v 1.7.9
Additional context
PHP Error Log
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function yourls_nonce_url() in /var/www/vhosts/tld.xx/n.tld.xx/includes/functions-html.php:528\nStack trace:\n#0 /var/www/vhosts/tld.xx/n.tld.xx/includes/functions.php(295): yourls_table_add_row('2', 'https://getshar...', 'ShareX - Screen...', '2a02:8106:20c:d...', 0, 1591823444)\n#1 /var/www/vhosts/tld.xx/n.tld.xx/includes/functions-api.php(21): yourls_add_new_link('https://getshar...', '2', 'ShareX - Screen...')\n#2 /var/www/vhosts/tld.xx/n.tld.xx/includes/functions-plugins.php(150): yourls_api_action_shorturl(false)\n#3 /var/www/vhosts/tld.xx/n.tld.xx/yourls-api.php(35): yourls_apply_filter('api_action_shor...', false)\n#4 {main}\n thrown in /var/www/vhosts/tld.xx/n.tld.xx/includes/functions-html.php on line 528'
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function yourls_nonce_url()[鈥
See https://github.com/YOURLS/YOURLS/issues/2661#issuecomment-619044362 (and note: that issue is pinned).
Thanks!
My bad for not searching the PHP Error output :/
Error messages are useless if nobody uses them when looking for solutions, lol 馃槀
Wasn't sure about the error output, because there was more than one 馃槄
Going to support you guys with "Backers"
Most helpful comment
Thanks!
My bad for not searching the PHP Error output :/