-
Author
-
October 12, 2017 at 09:54 #176403cvance1488Participant
Hello:
I am receiving the following PHP Notices:
WC_Cart::get_cart_url is <strong>deprecated</strong> since version 2.5! Use wc_get_cart_url instead in my WordPress Debug log.
AND
WC_Cart::get_checkout_url is <strong>deprecated</strong> since version 2.5! Use wc_get_checkout_url instead.
I notice sometimes I lose the theme and formatting for my site but after a few page reloads it comes back. I updated to the latest theme 4.2.12 and the latest of everything else and I am still receiving the Notice(s).
I am using WooCommerce 3.2.0 (latest). I noticed your minimum requirement for WooCommerce is 3.1.2 or is that your the latest version you support?
In my wp-content\themes\kleo\lib\plugin-woocommerce\config.php file I see that the function get_cart_url() is used on lines: 1042, 1112, 1120, 1187, 1248 . I did not see the get_checkout_url upon re-testing after clearing the WordPress Debug Log log because I did not notice it as a separate error until after beginning this ticket. I presume that is related to the same issue.
If I am a minor version ahead of your currently supported version, when do you plan to support the 3.2.X version of WooCommerce?
Thank you.
October 12, 2017 at 23:46 #176497LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
October 13, 2017 at 17:00 #176546RaduModeratorHi,
I’ve updated the woocommerce to 3.1.2 and in the debug.log i cannot see any notice related to that function.
WC_Cart::get_cart_url is deprecated since version 2.5! Use wc_get_cart_url instead in my WordPress Debug log.
What php version are you running ? somehow 7 ?
TRy to de-activate all plugins and child theme except woocommerce plugin use only parent theme, empty your debug.log and look again for that notice, if that stops to appears means that this can be caused by some woocommerce old template from child theme.
And of course we will support woocommerce 3.1.2 ver at the moment from what i see it’s the same like previous version, even if you receive that notice it will work, that means that the function will be deprecated in next versions.
A possible cause for your website wired look sometimes, can be caused by minification and html compression, try to play with the caching settings, do not move them to footer cuz those will be loaded after the page complete to load, which is not ok for CSS
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 16, 2017 at 16:32 #176868RaduModeratorGreat
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.