Support » Plugin: PixelYourSite - Your smart PIXEL (TAG) Manager » Plugin could not be activated – Fatal Error

  • Resolved shaunbowen

    (@shaunbowen)


    When I try to install the PixelYourSite plugin, I get an error:

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

    Fatal error: Uncaught Error: Cannot unset string offsets in /home/smartweb/public_html/wp-includes/class-wp-roles.php:232 Stack trace: #0 /home/smartweb/public_html/wp-content/plugins/pixelyoursite/includes/functions-admin.php(149): WP_Roles->remove_cap('dhlp_visitor', 'manage_pys') #1 /home/smartweb/public_html/wp-content/plugins/pixelyoursite/facebook-pixel-master.php(42): PixelYourSite\manageAdminPermissions() #2 /home/smartweb/public_html/wp-includes/class-wp-hook.php(307): pysFreeActivation('') #3 /home/smartweb/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #4 /home/smartweb/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #5 /home/smartweb/public_html/wp-admin/plugins.php(194): do_action('activate_pixely...') #6 {main} thrown in /home/smartweb/public_html/wp-includes/class-wp-roles.php on line 232

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author PixelYourSite

    (@pixelyoursite)

    Hello,

    It’s a very unusual error, and I need to you to send some more details about your environment. Please send us a message here, and I’ll reply with some questions: https://www.pixelyoursite.com/contact

    Thread Starter shaunbowen

    (@shaunbowen)

    Found the culprit – it was a custom plugin we had programmed specifically.
    I will mark as closed.

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