Title: Call to undefined function ereg_replace
Last modified: August 31, 2016

---

# Call to undefined function ereg_replace

 *  [WebHostingHero](https://wordpress.org/support/users/stephane74/)
 * (@stephane74)
 * [10 years ago](https://wordpress.org/support/topic/call-to-undefined-function-ereg_replace/)
 * ereg_replace has been deprecated for a while now. The plugin is not compatible
   with PHP 7.
 * [https://wordpress.org/plugins/social-media-auto-publish/](https://wordpress.org/plugins/social-media-auto-publish/)

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

 *  [sonittaxyzscripts](https://wordpress.org/support/users/sonittaxyzscripts/)
 * (@sonittaxyzscripts)
 * [10 years ago](https://wordpress.org/support/topic/call-to-undefined-function-ereg_replace/#post-7419308)
 * Hi WebHostingHero,
 * Thank you for your suggestion.
    We will fix this issue in next version. If you
   have more suggestions please let us know.
 *  Thread Starter [WebHostingHero](https://wordpress.org/support/users/stephane74/)
 * (@stephane74)
 * [10 years ago](https://wordpress.org/support/topic/call-to-undefined-function-ereg_replace/#post-7419323)
 * When do you think it will come out? I’ve switched to PHP7 and had to remove the
   plugin. Shall I wait or find an alternative?

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

The topic ‘Call to undefined function ereg_replace’ is closed to new replies.

 * ![](https://ps.w.org/social-media-auto-publish/assets/icon-128x128.png?rev=1790483)
 * [Social Media Auto Publish](https://wordpress.org/plugins/social-media-auto-publish/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-media-auto-publish/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-media-auto-publish/)
 * [Active Topics](https://wordpress.org/support/plugin/social-media-auto-publish/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-media-auto-publish/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-media-auto-publish/reviews/)

## Tags

 * [php-7](https://wordpress.org/support/topic-tag/php-7/)

 * 2 replies
 * 2 participants
 * Last reply from: [WebHostingHero](https://wordpress.org/support/users/stephane74/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/call-to-undefined-function-ereg_replace/#post-7419323)
 * Status: not resolved