ruTorrent
ruTorrent copied to clipboard
Uncaught TypeError: Cannot read properties of undefined (reading 'ip')
Please complete the following tasks.
- [X] Web browser cache cleared
- [X] Web browser and ruTorrent version provided
Tell us about your environment
Web Browser: Google Chrome 127.0.6533.120 ruTorrent: Master: fda24a638d46dd0473788957579006150cccb8bd
What were you trying to do?
The error occurs when I try to add a comment to peer
What us the error message?
JS error: [ : 9718] Uncaught TypeError: Cannot read properties of undefined (reading 'ip')
Give us the stack trace.
webui.js?v=436:2451 Uncaught TypeError: Cannot read properties of undefined (reading 'ip') from TypeError: Cannot read properties of undefined (reading 'ip')
at Object.beforeShow (<anonymous>:9718:21)
at Object.show (http: //xxx/ruTorrent/js/objects.js?v=436:172:26)
at eval (eval at <anonymous> (http: //xxx/ruTorrent/js/objects.js?v=436:340:86), <anonymous>:1:18)
at HTMLAnchorElement.<anonymous> (http: //xxx/ruTorrent/js/objects.js?v=436:340:86)
at HTMLAnchorElement.dispatch (http: //xxx/ruTorrent/js/jquery.js?v=436:2:39997)
at v.handle (http: //xxx/ruTorrent/js/jquery.js?v=436:2:37968)
How can I restimulate this problem? I don't have the Add comment... option in my context menu.
@stickz You should install geoip plugin for this. https://github.com/Novik/ruTorrent/tree/master/plugins/geoip
Thanks @Novik. Unfortunately this plugin no longer works with the latest versions of PHP. I'm using Micdu70's forked version instead. https://github.com/Micdu70/geoip2-rutorrent
Due to the attribution requirement for the database, there are currently no plans to replace the default geoip ruTorrent plugin. https://dev.maxmind.com/geoip/geolite2-free-geolocation-data#license
How can I restimulate this problem? I don't have the
Add comment...option in my context menu.
@stickz do you have the necessary dependencies installed like php-sqlite3?
I also checked the version from Micdu70 and the error also occurs.
edit... @TrimmingFool the error started occurring after commit b6ec0255ee315de4c8776759922c85b7a9111f7d sTable: Update DOM asynchronously
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.