• Resolved Arathol

    (@arathol)


    When I update the plugin, i get a “Cant open file” error on the site and the site breaks. I have to restore from backup.

    Error below:

    @font-face { font-family: ‘lucas-bold’; src: url(‘/wp-content/uploads/useanyfont/4070Lucas-bold.woff2’) format(‘woff2’), url(‘/wp-content/uploads/useanyfont/4070Lucas-bold.woff’) format(‘woff’); font-display: auto; } .lucas-bold{font-family: ‘lucas-bold’ !important;} @font-face { font-family: ‘lucas-semibold’; src: url(‘/wp-content/uploads/useanyfont/9591Lucas-semibold.woff2’) format(‘woff2’), url(‘/wp-content/uploads/useanyfont/9591Lucas-semibold.woff’) format(‘woff’); font-display: auto; } .lucas-semibold{font-family: ‘lucas-semibold’ !important;} @font-face { font-family: ‘lucas-regular’; src: url(‘/wp-content/uploads/useanyfont/8127Lucas-regular.woff2’) format(‘woff2’), url(‘/wp-content/uploads/useanyfont/8127Lucas-regular.woff’) format(‘woff’); font-display: auto; } .lucas-regular{font-family: ‘lucas-regular’ !important;} @font-face { font-family: ‘lucas-light’; src: url(‘/wp-content/uploads/useanyfont/3536Lucas-light.woff2’) format(‘woff2’), url(‘/wp-content/uploads/useanyfont/3536Lucas-light.woff’) format(‘woff’); font-display: auto; } .lucas-light{font-family: ‘lucas-light’ !important;} h5, h6{ font-family: ‘lucas-semibold’ !important; } .entry-title, body.single-post .entry-title, body.page .entry-title, body.category .entry-title, .widget-title{ font-family: ‘lucas-bold’ !important; } blockquote{ font-family: ‘lucas-light’ !important; } .grve-feature-inner{ font-family: ‘lucas-bold’ !important; } #grve-responsive-main-menu .grve-menu .grve-first-level:not(.grve-menu-element-first-level) > .grve-link-wrapper:not(.grve-menu-element-link-wrapper) a{ font-family: ‘lucas-bold’ !important; } h2, h3, .site-title{ font-family: ‘lucas-bold’ !important; } h1{ font-family: ‘lucas-bold’ !important; } .grve-increase-heading.grve-heading-250{ font-family: ‘lucas-bold’ !important; } .grve-increase-heading.grve-heading-300{ font-family: ‘lucas-bold’ !important; } Can’t open file

    • This topic was modified 1 year, 5 months ago by Arathol.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Dnesscarkey Support

    (@dcsupport)

    Hi,

    This is caused due to write / upload issue in wp-content/uploads folder as our plugin need to rewrite the css file after the update.

    To make sure there is no upload issue, from your media section can you please try uploading some image and see if that goes in ?

    Thanks

    Thread Starter Arathol

    (@arathol)

    Unfortunately, that didn’t work.

    I have tried resetting all permissions on the folders for the entire uploads directory to 775 and also 777 and the problem still persists.

    I also get this error when I just try and change the “Use Absolute Font Path” setting from relative to absolute or back. This however, doesn’t kill the whole site. It just errors and I can go back and reverse the change and save

    • This reply was modified 1 year, 5 months ago by Arathol.
    Plugin Support Dnesscarkey Support

    (@dcsupport)

    If your are unable to upload the image from your WordPress media, then it means there is issue with permission in your folder. So i suggest you to talk with your host to resolve this matter.

    When there is any settings changed in our plugin, it tries to rewrite the css file. So it is showing the error.

    But the problem here is your media folder that is not allowing upload / update the files. So you are also not able to upload image from wordpress media.

    Thanks




    Thread Starter Arathol

    (@arathol)

    What is the minimum file permission level on the uploads folder that is needed for this to work?

    Also, i deactivated the plugin, updated it, and now try to activate it again and it gives this error…


    Warning: fopen(/nas/content/live/**********/wp-content/uploads/useanyfont//uaf.css): Failed to open stream: Permission denied in?/nas/content/live/***********stg/wp-content/plugins/use-any-font/includes/functions/uaf_font_functions.php?on line?191
    Can’t open file

    I have reset all permission to default on the site, so not sure why its getting a permission error? Other plugins are able to install, read /write etc…

    Plugin Support Dnesscarkey Support

    (@dcsupport)

    Did you tried uploading image from your Media section ? If you are unable to upload the image from media section, then that is the main issue. FIxing that will fix our plugin issue as well.

    Thread Starter Arathol

    (@arathol)

    thank you. there seemed to be a corruption on the WordPress core files. Once the host regenerated the Wp-Config and reinstalled the WP core files, everything seemed to be fine again.

    Thanks for your help

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘critical error when updating plugin’ is closed to new replies.