Plugin could not be activated – Fatal Error
-
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
- The topic ‘Plugin could not be activated – Fatal Error’ is closed to new replies.