Title: Magic Quotes Error Message
Last modified: August 21, 2016

---

# Magic Quotes Error Message

 *  Resolved [nycexs](https://wordpress.org/support/users/nycexs/)
 * (@nycexs)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/)
 * I’m getting the following message upon form submission:
 * > Apologies. There was an error receiving your order. Please try again.
   > mail: Array ( [type] => 8192 [message] => Directive ‘magic_quotes_gpc’ is deprecated
   > in PHP 5.3 and greater [file] => Unknown [line] => 0 )
 * I disabled theme and all plugins except for WPPizza and WPPizza Add Ingredients.
   Any help or suggestions would be greatly appreciated.
 * ~Xenia
 * [https://wordpress.org/plugins/wppizza/](https://wordpress.org/plugins/wppizza/)

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

 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622555)
 * [https://www.google.co.uk/#q=Directive+’magic_quotes_gpc’+is+deprecated](https://www.google.co.uk/#q=Directive+’magic_quotes_gpc’+is+deprecated)
 * there are a ton of answers to that one really.
 * has nothing to do with the plugin as such
 * essentially though, turn off magic quotes
 *  Thread Starter [nycexs](https://wordpress.org/support/users/nycexs/)
 * (@nycexs)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622624)
 * Thanks, I’ll give it a go.
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622625)
 * ok, if you run into problems after that’s been dealt with , let me know
 *  Thread Starter [nycexs](https://wordpress.org/support/users/nycexs/)
 * (@nycexs)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622702)
 * Okay, fixed the magic quotes problem via hosting. Then I resaved the Order Settings.
 * Now I get:
 * >  Apologies. There was an error receiving your order. Please try again.
   > mail:
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622704)
 * in wppizza->settings->Select Type of Mail Delivery:
 * can you select PHPMailer there and tell me what it says then ?
    (tends to give
   better error messages)
 *  Thread Starter [nycexs](https://wordpress.org/support/users/nycexs/)
 * (@nycexs)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622719)
 * It was set to default, I tried all three and got:
 * > default [uses mail] returns> mail:
   > WordPress Mail Fuction [uses wp_mail] returns> wp_mail:
   > HTML and Plaintex [uses PHPMailer] returns> phpmailer: Could not instantiate
   > mail function.
 * I also move the “wppizza-order-html-email.php” from the wppizza template directory
   to my theme folder before using the HTML settings.
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622725)
 * a few links that might solve this for you. depends entirely on your setup though
 * first and foremost though, ensure that your server is actualy configured to send
   mail !!!
 * [http://forums.codewalkers.com/php-coding-7/phpmailer-error-could-not-instantiate-mail-function-720775.html](http://forums.codewalkers.com/php-coding-7/phpmailer-error-could-not-instantiate-mail-function-720775.html)
 * [http://stackoverflow.com/questions/1297084/phpmailer-error-could-not-instantiate-mail-function](http://stackoverflow.com/questions/1297084/phpmailer-error-could-not-instantiate-mail-function)
   
   and as always
 * [https://www.google.co.uk/search?q=phpmailer%3A+Could+not+instantiate+mail+function](https://www.google.co.uk/search?q=phpmailer%3A+Could+not+instantiate+mail+function)
 * PS: this has nothing to do with where wppizza-order-html-email.php is
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622726)
 * you can also try a wordpress plugin that sends mails via smtp (can’t recall exactly
   what it’s called but shouldnt be to hard to find )
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622727)
 * you can also try a wordpress plugin that sends mails via smtp (can’t recall exactly
   what it’s called but shouldnt be to hard to find )
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622728)
 * some of these i guess:
 * [http://wordpress.org/plugins/search.php?q=smtp](http://wordpress.org/plugins/search.php?q=smtp)
 *  Thread Starter [nycexs](https://wordpress.org/support/users/nycexs/)
 * (@nycexs)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622736)
 * I tried the plugin on another host and it worked fine! -_-
 * My next question, is there any easy way to export the menu items. I’m running
   near crunch time. BTW, thank you for all of your help so far.
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622743)
 * >I tried the plugin on another host and it worked fine!
 * gotto be the mail settings on that host really from what i can see
    (you could
   however – probably – use the phpmailer setting and edit wppizza-phpmailer-settings.
   php templates to use smtp to get around that
 * >My next question, is there any easy way to export the menu items
 * you mean other than tools->export ?
 *  Thread Starter [nycexs](https://wordpress.org/support/users/nycexs/)
 * (@nycexs)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622766)
 * Yep…Good ol’ export. Thanks again!

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

The topic ‘Magic Quotes Error Message’ is closed to new replies.

 * ![](https://ps.w.org/wppizza/assets/icon-256x256.png?rev=2498121)
 * [WPPizza - A Restaurant Plugin](https://wordpress.org/plugins/wppizza/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wppizza/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wppizza/)
 * [Active Topics](https://wordpress.org/support/plugin/wppizza/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wppizza/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wppizza/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [nycexs](https://wordpress.org/support/users/nycexs/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/magic-quotes-error-message/#post-4622766)
 * Status: resolved