Support » Plugin: Custom CSS and JavaScript » Error while publishing. Please try again.

  • Resolved Alok Shrestha

    (@alokstha1)


    Hi there,

    Great plugin. I’ve used this plugin for most of the sites I’ve worked on, but this is new. I’m trying to Save and Publish the javascript code. The code is saved but is not being Published. I don’t know what is going here. I get a pop up as ‘Error while publishing. Please try again.’.
    What can be going around here?

    Thank you in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Potent Plugins

    (@hearken)

    Hi there,
    When publishing, the plugin saves the custom CSS and/or Javascript in the wp-content/uploads/hm_custom_css_js directory. Can you verify that WordPress has write permissions for this directory (and if it doesn’t exist, that WordPress has the necessary permissions to create that directory in wp-content/uploads)?

    Thread Starter Alok Shrestha

    (@alokstha1)

    Thank you. Yes, it is solved after I changed the permission of the wordpress directory.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error while publishing. Please try again.’ is closed to new replies.