Title: Error de programação no plugin
Last modified: November 3, 2020

---

# Error de programação no plugin

 *  [marcosvinicius1987](https://wordpress.org/support/users/marcosvinicius1987/)
 * (@marcosvinicius1987)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-de-programacao-no-plugin/)
 * Notice (Suppressed) register_rest_route foi chamada incorretamente. A definição
   da rota da API REST para egoi/v1/products_data está faltando um argumento permission_callback
   obrigatório. Para rotas com de API REST que são públicas, use __return_true como
   o callback de permissão. Leia como Depurar o WordPress para mais informações.(
   Esta mensagem foi adicionada na versão 5.5.0.) 1 –
    wp-includes/functions.php:
   5229 register_rest_route() wp-content/plugins/smart-marketing-for-wp/admin/class-
   egoi-for-wp-admin.php:1157
 * Notice (Suppressed) Trying to access array offset on value of type null 1 –
    
   wp-content/plugins/smart-marketing-for-wp/includes/class-egoi-for-wp-widget.php:
   19 Egoi4Widget->__construct() wp-includes/class-wp-widget-factory.php:61 WP_Widget_Factory-
   >register() wp-includes/widgets.php:115 register_widget() wp-content/plugins/
   smart-marketing-for-wp/egoi-for-wp.php:154 egoi_widget_init() wp-includes/class-
   wp-hook.php:287
 * Notice (Suppressed) Undefined index: id_egoi 1 –
    wp-content/plugins/smart-marketing-
   for-wp/admin/class-egoi-for-wp-admin.php:943 Egoi_For_Wp_Admin->mapFieldsEgoi()
   wp-content/plugins/smart-marketing-for-wp/admin/class-egoi-for-wp-admin.php:139
   Egoi_For_Wp_Admin->__construct() wp-content/plugins/smart-marketing-for-wp/includes/
   class-egoi-for-wp.php:515 Egoi_For_Wp->define_admin_hooks() wp-content/plugins/
   smart-marketing-for-wp/includes/class-egoi-for-wp.php:374 Egoi_For_Wp->__construct()
   wp-content/plugins/smart-marketing-for-wp/egoi-for-wp.php:2290 run_egoi_for_wp()
   wp-content/plugins/smart-marketing-for-wp/egoi-for-wp.php:2294
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-de-programacao-no-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Error de programação no plugin’ is closed to new replies.

 * ![](https://ps.w.org/smart-marketing-for-wp/assets/icon-256x256.jpg?rev=1799819)
 * [Smart Marketing SMS and Newsletters Forms](https://wordpress.org/plugins/smart-marketing-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-marketing-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-marketing-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-marketing-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-marketing-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-marketing-for-wp/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [marcosvinicius1987](https://wordpress.org/support/users/marcosvinicius1987/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/error-de-programacao-no-plugin/)
 * Status: not resolved