WordPress.org

Forums

WPPizza
[resolved] Magic Quotes Error Message (14 posts)

  1. nycexs
    Member
    Posted 1 year ago #

    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/

  2. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. nycexs
    Member
    Posted 1 year ago #

    Thanks, I'll give it a go.

  4. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    ok, if you run into problems after that's been dealt with , let me know

  5. nycexs
    Member
    Posted 1 year ago #

    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:

  6. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    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)

  7. nycexs
    Member
    Posted 1 year ago #

    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.

  8. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    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://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

    PS: this has nothing to do with where wppizza-order-html-email.php is

  9. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    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 )

  10. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    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 )

  11. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

  12. nycexs
    Member
    Posted 1 year ago #

    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.

  13. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    >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 ?

  14. nycexs
    Member
    Posted 1 year ago #

    Yep...Good ol' export. Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WPPizza
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.