php - no option for adding new plugin in Heroku WordPress

183

I just installed WordPress in Heroku, now I wanted to add the plugin in WordPress but it does not allow me to add the plugin, no option is available for adding new plugin why? please help I'm in great trouble

73

Answer

Solution:

Heroku is a bit unusual as hosting providers go. The filesystem your code is deployed on is ephemeral - any changes you make to it (like installing plugins) will be blown away a) the next time you deploy and b) at least once daily due to dyno restarts. In addition, if you're running multiple dynos, making changes on one won't reflect on the others.

What you'll need to do is install the plugins locally in your development environment, and check all the added files into the Git repository and deploy that to Heroku.

People are also looking for solutions to the problem: javascript - jQuery post result Differs from php output

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.