WordPress.org

Ready to get started?Download WordPress

Forums

WP Pizzeria
Warning: array_key_exists() (13 posts)

  1. Wolvenx
    Member
    Posted 1 year ago #

    Hello, i add the shorcorde [pizza] and well, appear an error
    i attached the code

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in C:\xampp\htdocs\wordpress\wp-content\plugins\wp-pizzeria\pizza-display.php on line 14

    Greetings

    http://wordpress.org/extend/plugins/wp-pizzeria/

  2. david.binda
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, thank you for bug reporting. The new version 1.0.2 is uploading to the repository right now! Will be available throught the web within' few minutes. But till than you can download the fixed version throught this link.

  3. Wolvenx
    Member
    Posted 1 year ago #

    wow thanks for your answer, :) i have a questions, because when you click on the name of a pizza (in shortcode mode) his message is displayed and i can not find the option for editing

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque dictum ornare purus, feugiat congue purus blandit et.

    I have a suggestion if that does not bother him, for exaple in the menu may have the option of adding the ingredients below of the name, example

    PIZZA TRADITIONAL
    Ingrediences
    sauce, cheese, tomato, oregano

    and perhaps also have the option to disable the ratio buttom
    because sometimes the pizzas do not have categories, then it is sometimes is not useful..

    The plugin is very good, because it has the option to add prices with sizes

  4. david.binda
    Member
    Plugin Author

    Posted 1 year ago #

    Again, thank you for bug reporting - I haven't noticed this during my test. Again, new version is available

    I'll take the new features you are proposing into consideration for the developement of version 1.1 which is comming ;)

  5. Wolvenx
    Member
    Posted 1 year ago #

    thank you very much, I can help you with translation if you take into consideration English-Spanish, Spanish-English

  6. david.binda
    Member
    Plugin Author

    Posted 1 year ago #

    Cool...I've added an internationalization support to the developement version of the plugin. You can download it and use the pot file to translate the plugin into spanish (I'll give you the credits on plugin's page, of course).

    If you do not know how to translate plugins from pot file, you can find information on this here: http://codex.wordpress.org/Translating_WordPress (instead of official WordPress .pot file, you the one which can be found in languages directory of wp-pizzeria plugin dev version).

    Thank you for in advance ;)

  7. Wolvenx
    Member
    Posted 1 year ago #

    No problem =)

    one more bug, pizza menu number not found.. and assigning the position of the numbers in quickedit the prices are deleted also

  8. david.binda
    Member
    Plugin Author

    Posted 1 year ago #

    I've fixed the price loss throught quick edit in developement version - check it, if you can. And now about the pizza menu number not found. Where does this error appear?

  9. Wolvenx
    Member
    Posted 1 year ago #

    No error appears (text etc) What I mean to assign the menu number position (1,2, 3 etc) not have effect

  10. david.binda
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for extending test. I've fixed all the bugs/errors you've reported and new version 1.0.4 is out ;)

  11. Wolvenx
    Member
    Posted 1 year ago #

    Hello david, I tested the new version and see you've added the option "deserts" is to add new products? that have no place in the section pizza for example?.... The shortcode [desserts] is not working on the same page that have the shortcode [pizza]...

    and also beverages menu number not found.. and assigning the position of the numbers.. (the same bug that you fixed in pizzas)

    p.s the translations I have 80% finished, I think I'll end these days, when I end up where I upload?

    Greetings!

  12. david.binda
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for bugreport. I'm sorry I missed this comment and will fix that asap.

  13. Wolvenx
    Member
    Posted 1 year ago #

    Hello

    already solved the bugs?

    ps: where sending the pot file? in spanish?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.