Support » Plugin: PAYMILL for WordPress » 2 x Undefined index in pay_button.inc.php

  • Resolved gerd.neumann

    (@gerdneumann)


    Hi,

    during development of our child theme we closely follow the guide at https://mikejolley.com/2013/08/13/keeping-your-shit-secure-whilst-developing-for-wordpress/ (which is especially important for financial and e-commerce stuff 😉

    Like in step one we have define( WP_DEBUG, true ) enable on the development machine.

    This throws two errors which seems to be due to the paymill plugin. Here are the stacktraces:

    [Thu Apr 21 13:21:56.924529 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP Notice:  Undefined index: products in /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-content/plugins/paymill/lib/integration/pay_button.inc.php on line 368, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.924570 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP Stack trace:, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.924591 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   1. {main}() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-admin/post.php:0, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.924603 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   2. include() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-admin/post.php:173, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.924745 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   3. require_once() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-admin/edit-form-advanced.php:472, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.924759 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   4. do_action() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-admin/admin-header.php:113, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.924844 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   5. call_user_func_array() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-includes/plugin.php:525, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.924951 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   6. siteorigin_panels_admin_enqueue_scripts() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-includes/plugin.php:525, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.924996 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   7. paymill_pay_button_widget->form() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-content/plugins/siteorigin-panels/siteorigin-panels.php:419, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.925207 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP Notice:  Undefined index: title in /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-content/plugins/paymill/lib/integration/pay_button.inc.php on line 373, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.925218 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP Stack trace:, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.925237 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   1. {main}() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-admin/post.php:0, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.925249 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   2. include() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-admin/post.php:173, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.925260 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   3. require_once() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-admin/edit-form-advanced.php:472, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.925271 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   4. do_action() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-admin/admin-header.php:113, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.925283 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   5. call_user_func_array() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-includes/plugin.php:525, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.925294 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   6. siteorigin_panels_admin_enqueue_scripts() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-includes/plugin.php:525, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/unseren-kaffee-trinken-oder-kaufen/
    [Thu Apr 21 13:21:56.925318 2016] [:error] [pid 6827] [client 127.0.0.1:56844] PHP   7. paymill_pay_button_widget->form() /var/www/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/wp-content/plugins/siteorigin-panels/siteorigin-panels.php:419, referer: http://izmir.lan/fr-backup.2016-04-21-00-21-16/www.my-site.de/htdocs/whatever-trinken-oder-kaufen/

    Happens when we try to edit a static page (but probably also at other occurences).

    I can send you the woocommerce status report by PM if you want or need it.
    I don’t know if this is merely caused by the plugin or by another plugin and the caused consequences.

    https://wordpress.org/plugins/paymill/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2 x Undefined index in pay_button.inc.php’ is closed to new replies.