Database connected successfully!
Fetching access token from database...
Access token not found or expired. Fetching new token from WeChat...
Fetching access token from: https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=wx25af19846828a3a3&secret=4e03ac70895d5ac03aa45d5baa1b7923
Response from WeChat API: {"access_token":"88_nbcJwXdXetIB7nCuxALhbXblHPv3fT4rAJ6fCvc3eGyXxQyVaSdYN2loQhepEupMR9y3w8WxkvYEtkFshwz0Ci5V4KRy0QdFXJN2il8TJcBFl0mZpy29Kh_P6KAYUScADALHF","expires_in":7200}
Updating access token in database...
Fatal error: Call to undefined function random_bytes() in /home/xdyftp/dyzh/wx_new/wxAccessToken.php on line 50