• Resolved Imagemeenakshisanyal

    (@meenakshisanyal)


    I’m encountering the following warning on my VIP network site, even though I’m not using any custom fonts. I’d like to completely remove this warning. Could you please suggest a fix?

    PHP message: Warning: dir(vip://wp-content/uploads/sites/67/redux/custom-fonts/):
    Failed to open directory: ‘Automattic\VIP\Files\VIP_Filesystem_Local_Stream_Wrapper::dir_opendir’
    call failed in /var/www/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-filesystem.php on line 912

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ImageKev Provance

    (@kprovance)

    There’s a server permissions issue there that needs to be addressed. I’m guessing the custom-fonts folder wasn’t proper created in the sites upload folder. The VIP permissions system is an intricate one that I know nothing about. It’s an issue I also cannot address since it’s not my server. Contact whomever administers your server and tell them about the error.

    Thread Starter Imagemeenakshisanyal

    (@meenakshisanyal)

    Hi Kev,

    Thanks for your reply. I’m aware that the warning is caused by VIP server permissions. However, I’m not using the custom fonts functionality in my project at all.

    Could you please suggest a hook or filter I can use to completely disable the custom fonts scanning in Redux, so that these warnings do not occur? I’m looking for a code-based solution rather than fixing server permissions, since custom fonts aren’t needed in my project.

    Thanks!

    Plugin Author ImageKev Provance

    (@kprovance)

    Right now, it’s all part of Redux. I’ll look into a way to programmatically turn it off.

    Thread Starter Imagemeenakshisanyal

    (@meenakshisanyal)

    Hi Dev,

    May I kindly ask if you’ve found a solution for this issue? It’s quite urgent for me to resolve it on my website, as the Redux warning appears on every page load. I would greatly appreciate it if you could share a fix at your earliest convenience.

    Plugin Author ImageKev Provance

    (@kprovance)

    Download, install, and activate this beta version of Redux: https://github.com/reduxframework/redux-framework/archive/refs/heads/master.zip, version 4.5.7.4.

    You will need to locate the theme’s options config file and add 'custom_fonts' => false, to the global arguments. Since we do not support themes that use Redux or have access to them, I could not tell you where in the theme that file is. Also, if you add that line and the theme is updated, it will overwrite your change. I would advise contacting the theme author and asking them to include that line in their global args section.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP message: Warning: dir(vip://wp-content/uploads/sites/67/redux/custom-fonts/)’ is closed to new replies.