wordpress critical error
-
i got errors occasionally “WordPress Critical Error”
I logged to my server logs and got this
2023-07-11 22:04:29Error.166067 [NOTICE] [29495] [T0] [127.0.0.1:34720-1#APVH_lavacaloca.gr:lsapi] [STDERR] PHP Fatal error: Uncaught ValueError: fread(): Argument #2 ($length) must be greater than 0 in?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-content/plugins/ip2location-redirection/vendor/ip2location/ip2location-php/IP2Location.php:1602\nStack trace:\n#0?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-content/plugins/ip2location-redirection/vendor/ip2location/ip2location-php/IP2Location.php(1602): fread()\n#1?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-content/plugins/ip2location-redirection/vendor/ip2location/ip2location-php/IP2Location.php(1624): IP2Location\Database->read()\n#2?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-content/plugins/ip2location-redirection/vendor/ip2location/ip2location-php/IP2Location.php(1751): IP2Location\Database->readString()\n#3?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-content/plugins/ip2location-redirection/vendor/ip2location/ip2location-php/IP2Location.php(1104): IP2Location\Database->readCityName()\n#4?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-content/plugins/ip2location-redirection/ip2location-redirection.php(2071): IP2Location\Database->lookup()\n#5?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-content/plugins/ip2location-redirection/ip2location-redirection.php(1435): IP2LocationRedirection->get_location()\n#6?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-includes/class-wp-hook.php(308): IP2LocationRedirection->redirect()\n#7?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#8?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()\n#9?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-settings.php(486): do_action()\n#10?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-config.php(97): require_once(‘…’)\n#11?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-load.php(50): require_once(‘…’)\n#12?/var/www/vhosts/lavacaloca.gr/httpdocs/wp-blog-header.php(13): require_once(‘…’)\n#13?/var/www/vhosts/lavacaloca.gr/httpdocs/index.php(17): require(‘…’)\n#14 {main}\n thrown in /var/www/vhosts/lavacaloca.gr/httpdocs/wp-content/plugins/ip2location-redirection
The page I need help with: [log in to see the link]
- The topic ‘wordpress critical error’ is closed to new replies.