Home Forums Event Espresso Premium Event Espresso caused website to crash

Event Espresso caused website to crash

Posted: April 11, 2018 at 6:20 am

Lawrence Seltzer

April 11, 2018 at 6:20 am

the website stopped working.
I spoke with hosting technical support and they identified it as the eventespresso plugin. I disabled it and the site works.
I tried to reinstall and it crashes again.

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] 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

Darren Ethier

  • Support Staff

April 11, 2018 at 7:49 am

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 plugins_dir_url. This function is expected to return the full url for a plugin but instead its returning the relative path. It is likely that something is hooking into the plugins_url filter (which is ultimately called by plugins_dir_url):

 * 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.

  • This reply was modified 1 year ago by  Darren Ethier. Reason: fixing some spacing


  • Support Staff

April 11, 2018 at 7:56 am

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.

Lawrence Seltzer

April 12, 2018 at 11:09 am

Here are the plugins:
Akismet Anti-Spam
Analytify – Google Analytics Dashboard
Analytify – Gooogle Analytics Dashboard widget
Bring Back the Get Shortlink Button
Duplicate Post
FD Footnotes
Fusion Builder
Fusion Core
Gravity Forms
iThemes Security Pro
iThemes Sync
LayerSlider WP
Postmark (Official)
Site plugin for
Slider Revolution
WooCommerce Helper
WooCommerce Mijireh Checkout
WooCommerce Name Your Price
WP Smush

I am running on
I really don’t want to have to debug the site…


  • Support Staff

April 12, 2018 at 11:29 am

Hi Lawrence,

With the exception of the “Site plugin for”, 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” 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 1 year ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!