Posted: April 11, 2018 at 6:20 am
|
the website gatewaysonline.org stopped working. Technical support extracted the below error from the log. Can you please advise what I can do? [Wed Apr 11 11:37:53.193100 2018] [:error] [pid 13764] [client 66.162.212.19:60291] PHP Fatal error: Uncaught InvalidArgumentException: The provided value for $url_base is not a valid url. The url provided was: /wp-content/plugins/event-espresso-core-reg/assets/dist/ in /nas/content/live/gatewaysonline/wp-content/plugins/event-espresso-core-reg/core/services/assets/Registry.php:385\nStack trace:\n#0 /nas/content/live/gatewaysonline/wp-content/plugins/event-espresso-core-reg/core/services/assets/Registry.php(106): EventEspresso\\core\\services\\assets\\Registry->registerManifestFile(‘core’, ‘/wp-content/plu…’, ‘/nas/content/li…’)\n#1 [internal function]: EventEspresso\\core\\services\\assets\\Registry->__construct(Object(EE_Template_Config), Object(EE_Currency_Config), Object(EventEspresso\\core\\domain\\Domain))\n#2 /nas/content/live/gatewaysonline/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(1119): ReflectionClass->newInstanceArgs(Array)\n#3 /nas/content/live/gatewaysonline/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(717): EE_Registry->_create_object(‘EventEspresso\\\\c.. in /nas/content/live/gatewaysonline/wp-content/plugins/event-espresso-core-reg/core/services/assets/Registry.php on line 385 |
|
Hi there, The root cause of the error you are seeing is that there is something installed on your site (could be a theme or another plugin) that is breaking the behaviour of a core WordPress function /** * Filters the URL to the plugins directory. * * @since 2.8.0 * * @param string $url The complete URL to the plugins directory including scheme and path. * @param string $path Path relative to the URL to the plugins directory. Blank string * if no path is specified. * @param string $plugin The plugin file path to be relative to. Blank string if no plugin * is specified. */ return apply_filters( 'plugins_url', $url, $path, $plugin ); As you can see, its documented that this returns the full url. On your site this is not happening. Ultimately, you will want to try and discover what is doing this and correct it because you eventually will encounter other issues when plugins (such as our) expect the return value of a WordPress function to be following its documented behaviour (and validates that, as we do). We are investigating ways in which we can workaround this issue, but it’s in your best interest to debug this on your site as well.
|
Hi Lawrence, Further to the above, may I ask can you post a list of the installed plugins on your site? The reason I ask is because normally the first part of the $url_base will include your site’s URL, but that’s not happening on your site, and that’s leading to the crash. |
|
|
Here are the plugins: I am running on wpengine.com |
Hi Lawrence, With the exception of the “Site plugin for gatewaysonline.org”, the plugins you’ve listed here are not known to change the URLs for files to Relative URLS (from Absolute URLS). If you have some custom code within the “Site plugin for gatewaysonline.org” that makes that change, that code needs to be removed. Another potential place where the URLs could be set to change is within the wp-config.php file, which turned out to be the issue in this other topic: |
|
The support post ‘Event Espresso caused website to crash’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.