Title: Fatal error
Last modified: May 26, 2022

---

# Fatal error

 *  Resolved [rodfernandes](https://wordpress.org/support/users/rodfernandes/)
 * (@rodfernandes)
 * [4 years ago](https://wordpress.org/support/topic/fatal-error-4166/)
 * Hello,
 * when I activate the plugin I get the error:
 * `Fatal error: Uncaught TypeError: Cannot access offset of type string on string
   in /home/bebamais/public_html/wp-includes/l10n.php:677 Stack trace: #0 /home/
   bebamais/public_html/wp-content/plugins/stopbadbots/includes/tgm/class-tgm-plugin-
   activation.php(1219): translate_nooped_plural() #1 /home/bebamais/public_html/
   wp-includes/class-wp-hook.php(307): TGM_Plugin_Activation->notices() #2 /home/
   bebamais/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()#
   3 /home/bebamais/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()#
   4 /home/bebamais/public_html/wp-admin/admin-header.php(303): do_action() #5 /
   home/bebamais/public_html/wp-admin/admin.php(239): require_once('/home/bebamais/...')#
   6 {main} thrown in /home/bebamais/public_html/wp-includes/l10n.php on line 677`
 * when I activate the plugin I get this error and I can’t access anything else 
   in the admin panel. Every tab I click on, this error appears and it only resolves
   by deleting the plugin directly from the site directory

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [4 years ago](https://wordpress.org/support/topic/fatal-error-4166/#post-15684492)
 * Hi rodfernandes,
 * TGM Plugin Activation is a PHP library that allows to easily require or recommend
   plugins for WordPress themes (and plugins). It is not developed for us.
 * it is included in thousands of plugins with millions of activation and works 
   fine.
 * I suggest you install our free plugin WPtools and check your server:
    [https://wordpress.org/plugins/wptools/#description](https://wordpress.org/plugins/wptools/#description)
 * Look the voice about PHP Errors and also the voice “dashboard => debug Info”.
 * Copy and paste that content of the debug in our support page and we will try 
   to find what is wrong in your server:
    [https://BillMinozzi.com/support/](https://BillMinozzi.com/support/)
 * Cheers,
    Bill
 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [4 years ago](https://wordpress.org/support/topic/fatal-error-4166/#post-15728318)
 * Hi,
 * I hope you got this sorted. Its been a while with no reply so gonna go ahead 
   and mark this thread as resolved to help keep the forum organized. Feel free 
   to post again with any further questions or feedback,
    Thank you.
 * Bill

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/stopbadbots_f0f0f0.svg)
 * [Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection](https://wordpress.org/plugins/stopbadbots/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stopbadbots/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stopbadbots/)
 * [Active Topics](https://wordpress.org/support/plugin/stopbadbots/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stopbadbots/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stopbadbots/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/fatal-error-4166/#post-15728318)
 * Status: resolved