Title: PHP error in em-setup.php
Last modified: March 5, 2024

---

# PHP error in em-setup.php

 *  [ludo427](https://wordpress.org/support/users/ludo427/)
 * (@ludo427)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-in-em-setup-php/)
 * There is an error in this file causing an HTTP error 500 and slow server response.
   
   FIle is : elementor/em-setup.php
 * On line 41(/css) there is an unnecessary ‘/’ :
 *     ```wp-block-code
       add_action( 'elementor/editor/before_enqueue_scripts', function() {
       				wp_enqueue_style( 'naevents-elementor', plugins_url( '/', __FILE__ ) . '/css/narestaurant-elementor.css' );
       			} );
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [nicheaddons](https://wordpress.org/support/users/nicheaddons/)
 * (@nicheaddons)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-in-em-setup-php/#post-17480674)
 * [@ludo427](https://wordpress.org/support/users/ludo427/)
 * Can you please share more information about your issue? We don’t see any issues
   in the CSS file. The file is enqueued correctly and is definitely needed for 
   the plugin to load the widget styles.
 * You can contact us with your website link and more information about your website
   at: nicheaddons[at]gmail[dot]com
 *  Thread Starter [ludo427](https://wordpress.org/support/users/ludo427/)
 * (@ludo427)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-in-em-setup-php/#post-17482080)
 * On my website the request looked like :
 *     ```wp-block-code
       /wp-content/plugins//css/narestaurant-elementor.css
       ```
   
 * Which doesn’t exist and made it load forever..
 *  Plugin Author [nicheaddons](https://wordpress.org/support/users/nicheaddons/)
 * (@nicheaddons)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-in-em-setup-php/#post-17484390)
 * I totally get where you’re coming from! Could you kindly share based on our previous
   requirement so we can keep things moving in the right direction?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP error in em-setup.php’ is closed to new replies.

 * ![](https://ps.w.org/events-addon-for-elementor/assets/icon-256x256.png?rev=2171715)
 * [Events Addon for Elementor](https://wordpress.org/plugins/events-addon-for-elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-addon-for-elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-addon-for-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/events-addon-for-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-addon-for-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-addon-for-elementor/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 3 replies
 * 2 participants
 * Last reply from: [nicheaddons](https://wordpress.org/support/users/nicheaddons/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-in-em-setup-php/#post-17484390)
 * Status: not resolved