I am getting a message "Can't check updates!" on dashboard in place of the regular message "CWP up to date" or "Update Available".
I tried to run the script /scripts/cwp_update but I am getting these messages
######################
Update Server Packages
######################
PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning: file_get_contents(
http://centos-webpanel.com/webpanel/versions/el7.txt): failed to open stream: no suitable wrapper could be found in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning: file_get_contents(
http://static.cdn-cwp.com/files/apache/mod-security/cwaf_latest_installed.txt): failed to open stream: no suitable wrapper could be found in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
Redirecting to /bin/systemctl reload httpd.service
On checking I found that allow_url_fopen is set to
On in all my php.ini and php-fpm73 php.ini
Please explain what is going on or a solution to this issue.