hassamsharik007
Forum Replies Created
-
Forum: Plugins
In reply to: [WPC Shop as a Customer for WooCommerce] can’t go back to admin userGood Day @janilyn409
I am having the exact same error since updatiing of the plugin which is:
Once you switch your user role to anotehr customer as an admin it switches smoothly but when you try to switch back to the admin role it doesn’t work and you then have to manually log out and log back in to the admin accoutn again.
the plugin is really great hope you and your team fix this issue soon.
Thank You!Forum: Plugins
In reply to: [Fluid Checkout for WooCommerce - Lite] deactivate plugin on thank you pageGood day!
@natsshop can you please guide a bit on how you did that as I am also facing the same issue and I have created my custom thank you page using elementorI did it but still no result same issue
Please if you can help me fix this a bit quickly that would be awesome as teh website is live and lotsof customers are complaining
this is what I get when I run this code:
Fatal error: Uncaught Mpdf\MpdfImageException: Could not find image file (https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/Logo_Main-Converted.png) in /home/customer/www/courses.gastectraining.co.uk/public_html/wp-content/plugins/wc-cart-pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php:589 Stack trace: #0 /home/customer/www/courses.gastectraining.co.uk/public_html/wp-content/plugins/wc-cart-pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php(211): Mpdf\Image\ImageProcessor->imageError(‘https://courses…’, true, ‘Could not find …’) #1 /home/customer/www/courses.gastectraining.co.uk/public_html/wp-content/plugins/wc-cart-pdf/vendor/mpdf/mpdf/src/Tag/Img.php(276): Mpdf\Image\ImageProcessor->getImage(‘https://courses…’, true, true, ‘https://courses…’, false) #2 /home/customer/www/courses.gastectraining.co.uk/public_html/wp-content/plugins/wc-cart-pdf/vendor/mpdf/mpdf/src/Tag.php(240): Mpdf\Tag\Img->open(Array, Array, 7) #3 /home/customer/www/courses.gastectraining.co.uk/public_html/wp-content/plugins/wc-cart-pdf/vendor/mpdf/mpdf/src/Mpdf.php(13850): Mpdf\Tag->OpenTag(‘IMG’, Array, Array, 7) #4 /home/customer/www/courses.gastectraining.co.uk/public_html/wp-content/plugins/wc-cart-pdf/wc-cart-pdf.php(186): Mpdf\Mpdf->WriteHTML(‘<div class=”wc_…’, 2) #5 /home/customer/www/courses.gastectraining.co.uk/public_html/wp-includes/class-wp-hook.php(310): wc_cart_pdf_process_download(”) #6 /home/customer/www/courses.gastectraining.co.uk/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #7 /home/customer/www/courses.gastectraining.co.uk/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /home/customer/www/courses.gastectraining.co.uk/public_html/wp-includes/template-loader.php(13): do_action(‘template_redire…’) #9 /home/customer/www/courses.gastectraining.co.uk/public_html/wp-blog-header.php(19): require_once(‘/home/customer/…’) #10 /home/customer/www/courses.gastectraining.co.uk/public_html/index.php(17): require(‘/home/customer/…’) #11 {main} thrown in /home/customer/www/courses.gastectraining.co.uk/public_html/wp-content/plugins/wc-cart-pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php on line 589
There has been a critical error on this website.
I checked out everything and I guess there is an issue with the plugin it only happened with the altest update before everything was working fine so for a temporary solution I have disabled all product thumbnails using CArt-table.php file but I do want to show my company logo and to do that I just pasted the logo link directly in cart-table.php but still same problem can you tell me how to fix that so atleast I can display the logo.
THANK YOU!and I also tried changing woocommerce thumbnail to full that also didn;t work and you said to use my own method of getting image well I don’t know how to do that sir
here’s the img tag again sir:
<a href=”https://courses.gastectraining.co.uk/shop/lpg-in-leisure-accomodation-vehicles/”><img width=”300″ height=”300″ src=”https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/3b7aa090-8a51-4903-8ddf-d44ebcb86831-300×300.jpg” class=”attachment-woocommerce_thumbnail size-woocommerce_thumbnail” alt=”” decoding=”async” width=”60″ height=”auto” srcset=”https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/3b7aa090-8a51-4903-8ddf-d44ebcb86831-300×300.jpg 300w, https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/3b7aa090-8a51-4903-8ddf-d44ebcb86831-150×150.jpg 150w, https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/3b7aa090-8a51-4903-8ddf-d44ebcb86831-768×768.jpg 768w, https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/3b7aa090-8a51-4903-8ddf-d44ebcb86831-600×600.jpg 600w, https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/3b7aa090-8a51-4903-8ddf-d44ebcb86831-100×100.jpg 100w, https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/3b7aa090-8a51-4903-8ddf-d44ebcb86831.jpg 1024w” sizes=”(max-width: 300px) 100vw, 300px” /></a>Please this is a live website is there anyway to fix it?
just did that and still not working sir is there a proper way to fix it?
here it is:
<img width=”300″ height=”300″ src=”https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/dc04aeb0-d7bd-4481-a136-e5597e1ca0e0-300×300.jpg” class=”attachment-woocommerce_thumbnail size-woocommerce_thumbnail” alt=”” decoding=”async” width=”60″ height=”auto” srcset=”https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/dc04aeb0-d7bd-4481-a136-e5597e1ca0e0-300×300.jpg 300w, https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/dc04aeb0-d7bd-4481-a136-e5597e1ca0e0-100×100.jpg 100w, https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/dc04aeb0-d7bd-4481-a136-e5597e1ca0e0-600×600.jpg 600w, https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/dc04aeb0-d7bd-4481-a136-e5597e1ca0e0-150×150.jpg 150w, https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/dc04aeb0-d7bd-4481-a136-e5597e1ca0e0-768×768.jpg 768w, https://courses.gastectraining.co.uk/wp-content/uploads/2023/01/dc04aeb0-d7bd-4481-a136-e5597e1ca0e0.jpg 1024w” sizes=”(max-width: 300px) 100vw, 300px” /></a>https://pastebin.com/BxUYZKxg
Sorry try this one please sirHere is the img tag code mr.David:
https://pastebin.com/MiG3Wic7
and also yes I am using an image optimisation on my site and for the images some are webp and some are jpeg but they are not converted in the website rather converted manually by me before being uploaded to the siteUpdated it but the problem is still there tried to debug the file and for me I don;t think there is anything odd with <img tag> and the src seems to be valid and tbh I am not a that much of a technical guy myself I am putting the HTML OUTPUT here can you take a look and please help me out:
[ SNIP! ]
- This reply was modified 1 year, 7 months ago by Jan Dembowski.
I did and it’s not workign is there anyother way please?