• Resolved Sero K.

    (@lesero)


    Hi!
    I wanted to test your plugin but unfortunately the plugin cannot be activated. After installation, the “activate” button loads endlessly and the following error message appears at the top: Activation failed: {“status”:true, “data”:[], “message”: “OK”}

    I have been working with wordpress for a long time and have therefore gone through the classic troubleshoot methods:

    1. reinstalled WP – i used the lates version (6.5.3)
    2. deactivated all plugins
    3. reinstalled Tagembed again – even manually.
    4. activated debug mode, this gives the following output:

      [21-May-2024 19:34:53 UTC] PHP Deprecated: ?Creation of dynamic property MWP_Updater_TraceableUpdaterSkin::$plugin_info is deprecated in /home/www/website/wp-admin/includes/class-plugin-upgrader.php on line 334
      [21-May-2024 19:34:53 UTC] PHP Deprecated: ?Creation of dynamic property MWP_Updater_TraceableUpdaterSkin::$plugin_active is deprecated in /home/www/website/wp-admin/includes/class-plugin-upgrader.php on line 348
      [21-May-2024 20:56:15 UTC] PHP Deprecated: ?Creation of dynamic property MonsterInsights_API_Request::$protocol is deprecated in /home/www/website/wp-content/plugins/google-analytics-for-wordpress/includes/api-request.php on line 153
      [21-May-2024 20:56:15 UTC] PHP Deprecated: ?Creation of dynamic property MonsterInsights_API_Request::$site_url is deprecated in /home/www/website/wp-content/plugins/google-analytics-for-wordpress/includes/api-request.php on line 169
      [21-May-2024 20:56:15 UTC] PHP Deprecated: ?Creation of dynamic property MonsterInsights_API_Request::$miversion is deprecated in /home/www/website/wp-content/plugins/google-analytics-for-wordpress/includes/api-request.php on line 175
      [21-May-2024 20:56:15 UTC] PHP Deprecated: ?Creation of dynamic property MonsterInsights_API_Request::$sitei is deprecated in /home/www/website/wp-content/plugins/google-analytics-for-wordpress/includes/api-request.php on line 176
      [21-May-2024 21:01:53 UTC] PHP Deprecated: ?strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/website/wp-admin/admin-header.php on line 36
      [21-May-2024 21:01:55 UTC] PHP Deprecated: ?strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/website/wp-admin/admin-header.php on line 36
      [21-May-2024 21:17:15 UTC] Cron-Reschedule-Event-Fehler für Hook: action_scheduler_run_queue, Fehlercode: invalid_schedule, Fehlermeldung: Die Ereignisplanung existiert nicht., Daten: {“schedule”:”every_minute”,”args”:[“WP Cron”],”interval”:60}
      [21-May-2024 21:17:42 UTC] Cron-Reschedule-Event-Fehler für Hook: wp_fastest_cache_Preload, Fehlercode: invalid_schedule, Fehlermeldung: Die Ereignisplanung existiert nicht., Daten: {“schedule”:”everyfiveminute”,”args”:[],”interval”:300}
    5. I kinda dont understand the deprecated-notes because everything is updated and running in the latest version. I have nevertheless downgraded the PHP version from 8.2 to 8.1. However, the same error message still appears.
    6. There are no entries in the apache error log.

    When I go to the plugin overview and try to activate the plugin again, this time I get the error message “The plugin cannot be activated because it generates a fatal error.”

    Any ideas?
    Thanks!

    • This topic was modified 6 months ago by Sero K.. Reason: added screenshots
    • This topic was modified 6 months ago by Sero K..
    • This topic was modified 6 months ago by Sero K.. Reason: adde more informations
    • This topic was modified 6 months ago by Sero K.. Reason: Added more informations
Viewing 7 replies - 1 through 7 (of 7 total)
  • So, I’m having the same issue, can’t activate the plugin, nothing in error log, running php7.4.

    I’m getting the same error on activation of Tagembed v5.6 from 4 hours ago:

    Plugin could not be activated because it triggered a?fatal error.

    This is on a completely up-to-date WordPress installation with:

    • WordPress 6.5.4
    • PHP 8.2.18
    • Tagembed 5.6

    and a WP_MEMORY_LIMIT of 512M.

    As appears to be typical for the WordPress plugin activation errors, there’s nothing in the error or debug logs about the problem.

    I’m not sure it is much additional data, but looking at the code in the debugger on activating the Tagembed plugin, the last line of code I can step through is the “exit” statement in “plugins/tagembed-widget/helper/helper.php”:

    function __tagembed__exitWithSuccess($data = null) {
    echo wp_json_encode(['status' => (bool) true, 'data' => (array) $data, 'message' => (string) 'OK']);
    exit;
    }

    After that, it jumps to the WP_Fatal_Error_Handler handle() function.

    Larry Daniele

    (@larrydaniele)

    For the record, the new Tagembed 5.7 released today does NOT fix this problem (but it didn’t claim to).

    Plugin Author Tagembed

    (@tagembed)

    Hi,

    Thanks for reaching out. The “Plugin Activation Issue” is now resolved. Please feel free to reach out if you have any further queries.

    Thanks,

    Larry Daniele

    (@larrydaniele)

    I can verify that Tagembed v5.8 resolved the activation problem for me. Thanks!

    Plugin Author Tagembed

    (@tagembed)

    Thanks for the confirmation, Larry. Please feel free to reach out to us in case of any further queries.

    Thanks & Regards,
    Michael from Tagembed

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.