Title: Some PHP warnings
Last modified: March 8, 2022

---

# Some PHP warnings

 *  [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/some-php-warnings-2/)
 * Hi, there were some warnings after installation related to no connection to your
   server. But after the connection was established I keep getting following warnings:
 * `Warning: Undefined variable $next in /wp-content/plugins/mycryptocheckout/src/
   admin_trait.php on line 1058`
    `Warning: Undefined array key "wallet_id" in /
   wp-content/plugins/mycryptocheckout/src/menu_trait.php on line 58`

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

 *  Plugin Author [edward_plainview](https://wordpress.org/support/users/edward_plainview/)
 * (@edward_plainview)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/some-php-warnings-2/#post-15436368)
 * Just fixed the first one, but what is your URL when you get the second one?
 *  Thread Starter [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/some-php-warnings-2/#post-15436377)
 * The first one was appearing in constant time periods.
    For the second one I was
   not able to trigger it while browsing through plugin settings and checkout page,
   but according to time in the log the warning was thrown after the connection 
   to your server. I will notify you here if I understand what triggers it.
 *  [smartstuff2buy](https://wordpress.org/support/users/smartstuff2buy/)
 * (@smartstuff2buy)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/some-php-warnings-2/#post-15607902)
 * i have the same error
 * #34 {main}
    thrown in /home/crypsgyn/public_html/wp-content/plugins/mycryptocheckout/
   src/misc_methods_trait.php on line 394 [02-May-2022 04:18:06 UTC] PHP Warning:
   Undefined variable $next in /home/crypsgyn/public_html/wp-content/plugins/mycryptocheckout/
   src/admin_trait.php on line 1058
 * so how can i fix it?
 *  [smartstuff2buy](https://wordpress.org/support/users/smartstuff2buy/)
 * (@smartstuff2buy)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/some-php-warnings-2/#post-15607961)
 * update, so i figured out one of my problems, i left the “markup amount” blank,
   and the “markup %” was set to 10.
 * after i changed the “markup amount” to 0
    then i no longer got the errors!! please
   fix that, or put a warning beside the setting or something , or default to 0 
   because it was not allowing me to checkout anything.
 * after putting 0 in the “markup amount” in the mycryptocheckout settings, now 
   i can see all payment method tokens.
 * you can mark this resolved.

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

The topic ‘Some PHP warnings’ is closed to new replies.

 * ![](https://ps.w.org/mycryptocheckout/assets/icon.svg?rev=1869074)
 * [MyCryptoCheckout - Bitcoin, Ethereum, and 100+ altcoins for WooCommerce](https://wordpress.org/plugins/mycryptocheckout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mycryptocheckout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mycryptocheckout/)
 * [Active Topics](https://wordpress.org/support/plugin/mycryptocheckout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mycryptocheckout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mycryptocheckout/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [smartstuff2buy](https://wordpress.org/support/users/smartstuff2buy/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/some-php-warnings-2/#post-15607961)
 * Status: not resolved