Title: Error on &#8220;Add New Post&#8221;
Last modified: March 21, 2017

---

# Error on “Add New Post”

 *  Resolved [tectonic70](https://wordpress.org/support/users/tectonic70/)
 * (@tectonic70)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/error-on-add-new-post/)
 * When I go to add a new post I get a message across the top of the New Port page
   that reads as follow:
 * > Warning: in_array() expects parameter 2 to be array, null given in /home/content/
   > p3pnexwpnas03_data01/73/3856273/html/wp-content/plugins/wp-sms-gateways/includes/
   > classes/wp-sms-gateways.notification.class.php on line 158

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

 *  Plugin Author [Paul Kevin](https://wordpress.org/support/users/rixeo/)
 * (@rixeo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/error-on-add-new-post/#post-8939686)
 * Hello,
 * I will be releasing an update shortly that should fix this for you.
 *  [gauravpurwar](https://wordpress.org/support/users/gauravpurwar/)
 * (@gauravpurwar)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-add-new-post/#post-9183701)
 * I am getting below error:
 * Fatal error: Class ‘WP_SMS_Gateways_Gateway’ not found in /home/u625991728/public_html/
   wp-content/plugins/wp-sms-gateways/includes/gateways/wp-sms-gateway.africastalking.
   class.php on line 7
 *  Plugin Author [Paul Kevin](https://wordpress.org/support/users/rixeo/)
 * (@rixeo)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-add-new-post/#post-9183745)
 * Hello [@gauravpurwar](https://wordpress.org/support/users/gauravpurwar/),
 * This should not happen. Did you try modify the plugin or access a file directly?
 *  [gauravpurwar](https://wordpress.org/support/users/gauravpurwar/)
 * (@gauravpurwar)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-add-new-post/#post-9183934)
 * I accessed a file directly . I did not modify anything
 *  Plugin Author [Paul Kevin](https://wordpress.org/support/users/rixeo/)
 * (@rixeo)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-add-new-post/#post-9183943)
 * Hello [@gauravpurwar](https://wordpress.org/support/users/gauravpurwar/),
 * You should not access the file directly otherwise it will not work well.
 *  [gauravpurwar](https://wordpress.org/support/users/gauravpurwar/)
 * (@gauravpurwar)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-add-new-post/#post-9184065)
 * Then what to modify and how to install it. Please suggest
 *  Plugin Author [Paul Kevin](https://wordpress.org/support/users/rixeo/)
 * (@rixeo)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-add-new-post/#post-9184093)
 * Hello [@gauravpurwar](https://wordpress.org/support/users/gauravpurwar/),
 * Once the plugin is installed, it should work out of the box. Please create your
   own forum topic for further assistance.
 * Thank you

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

The topic ‘Error on “Add New Post”’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-sms-gateways_f5abab.svg)
 * [WP SMS Gateways](https://wordpress.org/plugins/wp-sms-gateways/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-sms-gateways/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-sms-gateways/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-sms-gateways/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-sms-gateways/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Paul Kevin](https://wordpress.org/support/users/rixeo/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-add-new-post/#post-9184093)
 * Status: resolved