Plugin could not be activated because it triggered a fatal error.
-
Hello! I’m trying to install and activate this plugin, but every time I do, I get this error message on the plugins page:
Plugin could not be activated because it triggered a?fatal error.
What can I do to help debug the error?
Thank you so much!
- This topic was modified 6 months, 3 weeks ago by 2brx2b.
-
Hi @2brx2b –
I apologize for the delay here. I didn’t receive a notification of this post.
Could you share some information about your WordPress environment so that I can try to replicate the issue? You can do so by going to “Tools > Site Health” in your WP Admin
Hello!
I’m experiencing the same issue as @2brx2b.
I can install the plugin sucessfully, but I get a “fatal error” when I try to activate it.
This is my Site Health:
` wp-core version: 6.5.3 site_language: es_ES user_language: es_ES timezone: +00:00 permalink: /%postname%/ https_status: true multisite: false user_registration: false blog_public: 1 default_comment_status: open environment_type: production user_count: 2 dotorg_communication: true wp-paths-sizes wordpress_path: /home/lamagiae/public_html/cinthyaalvarez.com wordpress_size: 69,87 MB (73263166 bytes) uploads_path: /home/lamagiae/public_html/cinthyaalvarez.com/wp-content/uploads uploads_size: 163,19 MB (171117868 bytes) themes_path: /home/lamagiae/public_html/cinthyaalvarez.com/wp-content/themes themes_size: 6,49 MB (6801893 bytes) plugins_path: /home/lamagiae/public_html/cinthyaalvarez.com/wp-content/plugins plugins_size: 65,50 MB (68679762 bytes) database_size: 110,90 MB (116290924 bytes) total_size: 415,95 MB (436153613 bytes) wp-dropins (1) advanced-cache.php: true wp-active-theme name: GeneratePress (generatepress) version: 3.4.0 author: Tom Usborne author_website: https://tomusborne.com parent_theme: none theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, automatic-feed-links, post-formats, woocommerce, title-tag, html5, customize-selective-refresh-widgets, align-wide, responsive-embeds, editor-color-palette, custom-logo, menus, editor-styles, editor-style, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets theme_path: /home/lamagiae/public_html/cinthyaalvarez.com/wp-content/themes/generatepress auto_update: Desactivado wp-themes-inactive (2) Twenty Twenty-Four: version: 1.1, author: el equipo de WordPress, Actualizaciones automáticas desactivadas Twenty Twenty-Three: version: 1.4, author: el equipo de WordPress, Actualizaciones automáticas desactivadas wp-plugins-active (13) Autoptimize: version: 3.1.11, author: Frank Goossens (futtta), Actualizaciones automáticas desactivadas Complianz | GDPR/CCPA Cookie Consent: version: 7.0.5, author: Really Simple Plugins, Actualizaciones automáticas desactivadas Elementor: version: 3.21.7, author: Elementor.com, Actualizaciones automáticas activadas Koko Analytics: version: 1.3.7, author: ibericode, Actualizaciones automáticas desactivadas No Right Click Images: version: 3.9, author: WebFactory Ltd, Actualizaciones automáticas desactivadas Polylang: version: 3.6.1, author: WP SYNTEX, Actualizaciones automáticas desactivadas Post Types Order: version: 2.2.1, author: Nsp Code, Actualizaciones automáticas desactivadas Really Simple SSL: version: 8.1.3, author: Really Simple Plugins, Actualizaciones automáticas desactivadas Smush: version: 3.16.2, author: WPMU DEV, Actualizaciones automáticas desactivadas Visual Portfolio, Posts & Image Gallery: version: 3.3.6, author: Visual Portfolio Team, Actualizaciones automáticas desactivadas WooCommerce: version: 8.9.1, author: Automattic, Actualizaciones automáticas desactivadas WP Armour - Honeypot Anti Spam: version: 2.1.22, author: Dnesscarkey, Actualizaciones automáticas desactivadas WP Super Cache: version: 1.12.1, author: Automattic, Actualizaciones automáticas desactivadas wp-plugins-inactive (3) PDF Invoices & Packing Slips for WooCommerce: version: 3.8.2, author: WP Overnight, Actualizaciones automáticas desactivadas Thank You Page for WooCommerce: version: 4.1.2, author: Nitin Prakash, Actualizaciones automáticas desactivadas WooPayments: version: 7.6.0, author: Automattic, Actualizaciones automáticas desactivadas wp-media image_editor: WP_Image_Editor_GD imagick_module_version: No disponible imagemagick_version: No disponible imagick_version: No disponible file_uploads: 1 post_max_size: 64M upload_max_filesize: 64M max_effective_size: 64 MB max_file_uploads: 20 gd_version: 2.3.3 gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM ghostscript_version: 9.25 wp-server server_architecture: Linux 4.18.0-477.15.1.lve.2.el7h.x86_64 x86_64 httpd_software: LiteSpeed php_version: 8.1.28 64bit php_sapi: litespeed max_input_variables: 4000 time_limit: 180 memory_limit: 256M max_input_time: 120 upload_max_filesize: 64M php_post_max_size: 64M curl_version: 7.87.0 OpenSSL/1.1.1w suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true current: 2024-05-23T07:42:04+00:00 utc-time: Thursday, 23-May-24 07:42:04 UTC server-time: 2024-05-23T07:42:01+00:00 wp-database extension: mysqli server_version: 10.5.25-MariaDB client_version: 10.5.24-MariaDB max_allowed_packet: 268435456 max_connections: 500 wp-constants WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/lamagiae/public_html/cinthyaalvarez.com/wp-content WP_PLUGIN_DIR: /home/lamagiae/public_html/cinthyaalvarez.com/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Sin definir WP_DEVELOPMENT_MODE: undefined DB_CHARSET: utf8mb4 DB_COLLATE: undefined wp-filesystem wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable pll_options browser: 1: Activado el detector de idioma del navegador rewrite: 1: Eliminar /idioma/ en los enlaces permanentes personalizados hide_default: 1: Ocultar la información de idioma de la URL en el idioma por defecto force_lang: 1: El idioma se establece por el nombre del directorio en los enlaces permanentes personalizados redirect_lang: 0: La URL de portada contiene el mismo nombre o ID de página, en vez del código de idioma media_support: 0: Los medios no están traducidos sync: 0: Sincronización desactivada post_types: post, page, wp_block, portfolio, vp_lists taxonomies: category, post_tag, portfolio_category, portfolio_tag version: 3.6.1 default_lang: es previous_version: 3.6 primary: es => 2 | en => 98 pll_language_es name: Espa?ol slug: es term_group: 0 term_id: 11 locale: es_ES is_rtl: 0 w3c: es-ES facebook: es_ES home_url: https://www.cinthyaalvarez.com/ search_url: https://www.cinthyaalvarez.com/ page_on_front: 7123 page_for_posts: 0 flag_code: es flag_url: https://www.cinthyaalvarez.com/wp-content/plugins/polylang/flags/es.png custom_flag_url: 0 active: true fallbacks: 0 is_default: true term_props: language/term_id: 11 language/term_taxonomy_id: 11 language/count: 51 term_language/term_id: 12 term_language/term_taxonomy_id: 12 term_language/count: 8 pll_language_en name: English slug: en term_group: 0 term_id: 14 locale: en_US is_rtl: 0 w3c: en-US facebook: en_US home_url: https://www.cinthyaalvarez.com/en/projects/ search_url: https://www.cinthyaalvarez.com/en/ page_on_front: 7929 page_for_posts: 0 flag_code: us flag_url: https://www.cinthyaalvarez.com/wp-content/plugins/polylang/flags/us.png custom_flag_url: 0 active: true fallbacks: 0 is_default: 0 term_props: language/term_id: 14 language/term_taxonomy_id: 14 language/count: 27 term_language/term_id: 15 term_language/term_taxonomy_id: 15 term_language/count: 5 pll_warnings wpml: plugins/visual-portfolio: /home/lamagiae/public_html/cinthyaalvarez.com/wp-content/plugins/visual-portfolio/wpml-config.xml
Thank you so much!
I believe I have tracked down the source of this issue and fixed in v1.3.3.
If you could try reinstalling and then activating, I’d appreciate it.
- This reply was modified 6 months, 1 week ago by lastsplash (a11n). Reason: typoe
Hi @lastsplash,
Thanks for your quick response and fixing the issue in this new version. It is working now! ??
Note: After activating this new version, I got the following error: Could Not Activate Plugin. Your site uses a physical robots.txt file. This plugin can only be activated when using the built-in virtual robots.txt provided by WordPress. To Activate Move the robots.txt file outside of your root directory or rename it to something like robots.txt.bak. Once that is done, please try reactivating the plugin. I followed the instructions and was able to activate the plugin correctly afterwards.
Thank you so much!
Cinthya
I haven’t verified it, but I also had a normal robots.txt file, so that was probably the cause! Thank you!
@lamagia –
Thanks for confirming that it is working for you now.
@2brx2b –
Yes, unfortunately it only works with the virtual
robots.txt
at present. I logged an issue to look into making it so that the plugin will prompt one to manually add the values to the file rather than just erroring out.
- You must be logged in to reply to this topic.