• Hello experts, please since i moved my website to another host(VPS) i have been seeing this error at the top of my dashboard on [ redundant link removed ]

    I have made reseacrh and i couldn’t get any solution.

    Here is the msg from wp touch: “Advanced Type for WPtouch Pro requires allow_url_fopen to be enabled on your server to load web fonts. Please enable this function on your webhost.”

    Please what does it mean and how do i solve it.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Sorry for all the spam that this thread has been getting. We’re closing the thread to prevent any further problems. Feel free to start a new thread if you need help.

    However, to answer your question:

    Advanced Type for WPtouch Pro requires allow_url_fopen to be enabled on your server to load web fonts. Please enable this function on your webhost.

    This “pro” plugin is likely not hosted here on wordpress.org, so you’ll probably need to take any questions to the wp-touch people directly.

    However, if their code requires allow_url_fopen, then you should pass this information along to them:

    Many webhosts disable allow_url_fopen for security reasons, and this is why it is not safe to try to use filesystem functions for URL access: because it will not work on all hosts. WordPress has functions to compensate for this, specifically it has the wp_remote set of functions, to do web requests without relying on url_fopen being enabled. A simple wp_remote_get() call can retrieve a webpage even without having url_fopen enabled, because WordPress contains an internal library that will use whatever is available to do the request. It can use curl, fopen methods, even direct socket support if necessary. All this is abstracted away, so please read the documentation and refactor your plugin to use these functions instead, so you have wider support and don’t confuse users with arcane settings that they may not have access to change. More info here: https://developer.wordpress.org/reference/functions/wp_remote_get/

Viewing 1 replies (of 1 total)
  • The topic ‘I Continue to get this error notice at top of my wp dashboard’ is closed to new replies.