Tagged: 4.2.5, Shortcodes
-
AuthorPosts
-
March 4, 2018 at 2:35 pm #921043
Guys and girls…
What on earth is going on with 4.2.5?
Looking at all the issues people are having I created a staging copy and I am very glad I did.The new version of shortcodes.css seems to be causing issues – especially with all the buttons (they have lost all formatting). I replaced this file with the one from 4.2.2 and it worked (now reverted back).
What have you done to the new shortcodes.css?
Also major issues with icons, quotes, icon boxes, etc – they are all over the place.See the issues here on the staging site: https://www.staging1.swarez.co.uk/ running 4.2.5
Also now WooCommerce returns a blank product screen in 4.2.5.
This is becoming problematic now. No caching, tried with plugins disabled. etc. – no change.Can someone look at this please? For the record this is what the site is supposed to look like (on 4.2.2 as the updates since then have all had the same problem): https://www.swarez.co.uk/ – running 4.2.2
Much appreciated (links in private content)
Ed- This topic was modified 6 years, 9 months ago by Swarez.
March 5, 2018 at 10:28 am #921378Hey Swarez,
Are you getting any errors in the server log? That’s really odd. The product page does not get rendered, only the header.
Best regards,
VictoriaMarch 5, 2018 at 10:44 am #921387Hi Victoria
No errors to report I’m afraid and I am completely at a loss to understand what’s going on.
Looking forward to hearing back from you.
Kind reagrds
EdMarch 5, 2018 at 7:45 pm #921730Yes, I see all the shortcodes have moved into individual folders. I’ve experienced blank white pages with nothing in the source code but WP header info. This is definitely something to be looked at and am surprised not more people are reporting this issue.
March 5, 2018 at 9:02 pm #921783Hi,
W ehave moved the request to our developers so they can review it.
We do appreciate the patience, they will do the best they can do.Best regards,
BasilisMarch 5, 2018 at 10:27 pm #921863March 5, 2018 at 10:55 pm #921893March 5, 2018 at 10:57 pm #921895Hi,
Thanks for WP admin logins however we will also need FTP logins to be able to access files on your server. In case you do not know your FTP login credentials, you can contact your hosting provider :)
Best regards,
YigitMarch 5, 2018 at 10:58 pm #921897Sorry @yigit – try the revised post above
Thanks
EdMarch 7, 2018 at 5:11 am #922724Hi,
It’s probably related to the theme’s new “minification” feature. Did you toggle the theme options after the update? Adjusting the options should regenerate the merged or minified scripts and stylesheets. Please disable the minification and cache plugin before doing so. If you want to disable this feature, please add this filter in the functions.php file.
add_filter('avf_merge_assets', function() { return 'none'; });
Best regards,
IsmaelMarch 7, 2018 at 10:31 am #922827Hey @ismael
Thank you for your reply.I disabled WP-Rocket BEFORE I did anything so that shouldn’t be the issue.
Your code will disable a feature that is meant to be a benefit – if I disable it then I see now benefit but the problem is still there yes?I see no documentation that says I should disable caching before making any theme adjustments – lots of people have caching plugins – I see this as a problem moving forward.
Surely there’s a way to resolve this without disabling the feature? Has anyone taken a look at the installation via the login info and FTP data or is this just a well-educated guess? These latest updates all seem a little rushed and are causing some serious issues. Can you update the community with what’s going on please?
I will go insert the code now and report back.,
Needs resolving really – this has been a problem since 4.2.3.Regards
EdMarch 7, 2018 at 10:38 am #922833Hi @ismael
Code makes no difference. Please help.
Kind regards
EdMarch 7, 2018 at 11:11 am #922844Got the Shortcode issue resolved with a total delete and reinstall but some formatting still problematic – will open a new thread.
Woo issue remains.
Regards
EdMarch 8, 2018 at 4:53 am #923534Hi!
Got the Shortcode issue resolved with a total delete and reinstall but some formatting still problematic – will open a new thread.
It means that the installation was still using the old scripts and stylesheets, the merge has not taken effect yet. Please provide the link to the new thread so that we can check it.
I see no documentation that says I should disable caching before making any theme adjustments – lots of people have caching plugins – I see this as a problem moving forward.
Cache tends to preserve current stylesheets and scripts so any changes made on the theme options, especially on design or color options, will not be visible immediately until you do a hard refresh or remove the browser cache.
Woo issue remains.
It seems to be related to the “Product Purchase Button” element. Please upgrade the theme to version 4.2.6 on the staging site and then edit the config-templatebuilder > aviashortcodes > product_snippet_button.php file. Look for this code around line 101.
ob_start(); //wc_clear_notices(); /** * hooked by: add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 ); */ //do_action( 'woocommerce_single_product_summary' ); $output .= ob_get_clean();
Replace the woocommerce_single_product_summary with the wc_get_template function temporarily.
ob_start(); wc_clear_notices(); wc_get_template( 'single-product/add-to-cart/' . $product->get_type() . '.php' ); $output .= ob_get_clean();
Cheers!
IsmaelMarch 8, 2018 at 11:22 am #923754Thank you @Ismael
Woo is functioning correctly again
Thank you
Kind regards
EdMarch 8, 2018 at 12:38 pm #923836Hi Swarez,
Glad we got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.