• Resolved jeromecanape

    (@jeromecanape)


    Hi! Im encountering an error occur whenever Im trying to activate the plugin. The error message was:

    Fatal error: Uncaught TypeError: base64_decode(): Argument #1 ($string) must be of type string, array given in /nas/content/live/dental266stg/wp-content/plugins/wp-seo-structured-data-schema/lib/classes/KcSeoHelper.php:21 Stack trace: #0 /nas/content/live/dental266stg/wp-content/plugins/wp-seo-structured-data-schema/lib/classes/KcSeoHelper.php(21): base64_decode(Array, true) #1 /nas/content/live/dental266stg/wp-content/plugins/wp-seo-structured-data-schema/lib/init.php(122): KcSeoHelper->isValidBase64(Array) #2 /nas/content/live/dental266stg/wp-content/plugins/wp-seo-structured-data-schema/lib/classes/KcSeoHelper.php(458): KcSeoWPSchema->__call(‘isValidBase64’, Array) #3 /nas/content/live/dental266stg/wp-content/plugins/wp-seo-structured-data-schema/lib/init.php(120): KcSeoHelper->fix1_2DataMigration() #4 /nas/content/live/dental266stg/wp-content/plugins/wp-seo-structured-data-schema/lib/classes/KcSeoInit.php(212): KcSeoWPSchema->__call(‘fix1_2DataMigra…’, Array) #5 /nas/content/live/dental266stg/wp-content/plugins/wp-seo-structured-data-schema/lib/classes/KcSeoInit.php(207): KcSeoInit->updateVariableAndFixIssue() #6 /nas/content/live/dental266stg/wp-includes/class-wp-hook.php(308): KcSeoInit->activePlugin(”) #7 /nas/content/live/dental266stg/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #8 /nas/content/live/dental266stg/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /nas/content/live/dental266stg/wp-admin/plugins.php(194): do_action(‘activate_wp-seo…’) #10 {main} thrown in /nas/content/live/dental266stg/wp-content/plugins/wp-seo-structured-data-schema/lib/classes/KcSeoHelper.php on line 21

    Will you be able help me on the issue?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author kcseopro

    (@kcseopro)

    Hello,

    Can you please tell me your server PHP version?

    Plugin Author kcseopro

    (@kcseopro)

    Hello,

    I am making this topic as resolved. If face any new issue please create new topic.

    Thanks

    This is still happening on PHP 8.2, WordPress 6.3 after the latest update:

    TypeError thrown

    base64_decode(): Argument #1 ($string) must be of type string, array given

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin could not be activated because it triggered a fatal error.’ is closed to new replies.