Title: Error occurs while activating
Last modified: June 20, 2023

---

# Error occurs while activating

 *  Resolved [balram19](https://wordpress.org/support/users/balram19/)
 * (@balram19)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/error-occurs-while-activating/)
 * Hello,
 * While activating this plugin. I got these errors.
 * **Deprecated**: Optional parameter $content declared before required parameter
   $shortcode is implicitly treated as a required parameter in **F:\xampp\htdocs\
   Praveen\themes\theme-update\wp-content\plugins\portfolio-elementor\classes\Powerfolio_Portfolio.
   php** on line **702**
 * **Fatal error**: Uncaught Error: Undefined constant “ELEMENTOR_VERSION” in F:\
   xampp\htdocs\Praveen\themes\theme-update\wp-content\plugins\portfolio-elementor\
   elementor\load_elementor.php:20 Stack trace: #0 F:\xampp\htdocs\Praveen\themes\
   theme-update\wp-includes\class-wp-hook.php(308): powerfolio_elementor_load(”)#
   1 F:\xampp\htdocs\Praveen\themes\theme-update\wp-includes\class-wp-hook.php(332):
   WP_Hook->apply_filters(NULL, Array) #2 F:\xampp\htdocs\Praveen\themes\theme-update\
   wp-includes\plugin.php(517): WP_Hook->do_action(Array) #3 F:\xampp\htdocs\Praveen\
   themes\theme-update\wp-settings.php(486): do_action(‘plugins_loaded’) #4 F:\xampp\
   htdocs\Praveen\themes\theme-update\wp-config.php(97): require_once(‘F:\\xampp\\
   htdocs…’) #5 F:\xampp\htdocs\Praveen\themes\theme-update\wp-load.php(50): require_once(‘
   F:\\xampp\\htdocs…’) #6 F:\xampp\htdocs\Praveen\themes\theme-update\wp-admin\
   admin.php(34): require_once(‘F:\\xampp\\htdocs…’) #7 F:\xampp\htdocs\Praveen\
   themes\theme-update\wp-admin\plugins.php(10): require_once(‘F:\\xampp\\htdocs…’)#
   8 {main} thrown in **F:\xampp\htdocs\Praveen\themes\theme-update\wp-content\plugins\
   portfolio-elementor\elementor\load_elementor.php** on line **20**
 * **Notice**: Function is_embed was called **incorrectly**. Conditional query tags
   do not work before the query is run. Before then, they always return false. Please
   see [Debugging in WordPress](https://wordpress.org/documentation/article/debugging-in-wordpress/)
   for more information. (This message was added in version 3.1.0.) in **F:\xampp\
   htdocs\Praveen\themes\theme-update\wp-includes\functions.php** on line **5865**
 * **Notice**: Function is_search was called **incorrectly**. Conditional query 
   tags do not work before the query is run. Before then, they always return false.
   Please see [Debugging in WordPress](https://wordpress.org/documentation/article/debugging-in-wordpress/)
   for more information. (This message was added in version 3.1.0.) in **F:\xampp\
   htdocs\Praveen\themes\theme-update\wp-includes\functions.php** on line **5865**
 * There has been a critical error on this website. Please check your site admin
   email inbox for instructions.
 * Thanks

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

 *  Plugin Author [PWR Plugins](https://wordpress.org/support/users/rexdot/)
 * (@rexdot)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/error-occurs-while-activating/#post-16835208)
 * Hello [@balram19](https://wordpress.org/support/users/balram19/) ,
 * Thanks for reporting. We released a new version today (3.0.2) with a fix for 
   this error and warning. Could you please update and lconfirm if it fixed the 
   issue for you?
 *  Thread Starter [balram19](https://wordpress.org/support/users/balram19/)
 * (@balram19)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/error-occurs-while-activating/#post-16835641)
 * Hello [@rexdot](https://wordpress.org/support/users/rexdot/),
 * Yes resolve the issues. Now I want to use older versions of this plugin. There
   is no option of **PREVIOUS VERSIONS** of this plugin.
 * Thanks
 *  Plugin Author [PWR Plugins](https://wordpress.org/support/users/rexdot/)
 * (@rexdot)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/error-occurs-while-activating/#post-16838016)
 * Hello [@balram19](https://wordpress.org/support/users/balram19/) ,
 * It’s possible to rollback to the previous version of any WordPress plugin or 
   theme with this plugin: [https://wordpress.org/plugins/wp-rollback/-](https://wordpress.org/plugins/wp-rollback/-)
   however, this is not recommended for any product, because old versions may have
   problems and security flaws. So you need to do this at your own risk.
 * May I ask you, why would you want to use an older version?
 *  Thread Starter [balram19](https://wordpress.org/support/users/balram19/)
 * (@balram19)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/error-occurs-while-activating/#post-16838930)
 * Hello,
 * I don’t want to show thumbnail image while open the portfolio. so I want to use
   previous version. BTW my issue has been resolved.
 * Thanks
 *  Plugin Author [PWR Plugins](https://wordpress.org/support/users/rexdot/)
 * (@rexdot)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/error-occurs-while-activating/#post-16840432)
 * It’s still possible to do that in the latest version, with the following steps:
    - Edit the page with Elementor
    - Edit the portfolio widget
    -  Go to “Hover effect settings> Each Project links to”
    - Select portfolio single page option and save

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

The topic ‘Error occurs while activating’ is closed to new replies.

 * ![](https://ps.w.org/portfolio-elementor/assets/icon-256x256.png?rev=1844421)
 * [PowerFolio - Portfolio & Image Gallery for Elementor](https://wordpress.org/plugins/portfolio-elementor/)
 * [Support Threads](https://wordpress.org/support/plugin/portfolio-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/portfolio-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/portfolio-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/portfolio-elementor/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [PWR Plugins](https://wordpress.org/support/users/rexdot/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/error-occurs-while-activating/#post-16840432)
 * Status: resolved