Okay
  Public Ticket #2505182
Plugin installation error
Closed

Comments

  •  1
    Zac Trout started the conversation

    I'm building a site for a client in a staging environment through WP Engine. I uploaded the Salient theme, than began to install plugins and it gave me the following error:

    "An error occurred while installing Salient Core: Download failed. A valid URL was not provided."

    This is the location it was trying:
     "Downloading installation package from /nas/content/staging/bcoachlive/wp-content/themes/salient/plugins/salient-core.zip…"

    I think the error may be due to the different URL that the staging site setup, but I'm not sure. The current website is http://beholdcoaching.com and the staging site is http://bcoachlive.staging.wpengine.com. WP Engine created that URL, so I'm not sure how to change it.

    Any help on this would be greatly appreciated. Thank you!

  •  1,076
    ThemeNectar replied

    Hey Zac!

    One thing you can try quickly would be to alter each instance of 

     get_template_directory()

    to be

     get_template_directory_uri()

    in salient/nectar/tgm-plugin-activation/required_plugins.php 

    If that does not correct the issue, please allow me temporary access to the staging server so that I can take a closer look.

  •  1
    Zac Trout replied

    Thank you! That did the trick! 👏🏼 👏🏼 👏🏼