Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter furzedo

    (@furzedo)

    Hi @lukefiretoss and @riaanknoetze,

    I disabled the WC Admin stuff, as per @lukefiretoss suggestion, and let my WooCommerce instance running for a couple of days. My monitoring says it did not improve the loading time, unfortunately.

    I also installed the Query Monitor plugin. A typical loading scenario of the main shop page is looking like this:

    https://drive.google.com/file/d/1fUQuHjzn2fYiZ4NWj5BtMJY5U26UHq2w/view?usp=sharing

    I noticed the actual query time is considerable (always around 500ms), but it becomes kind of irrelevant when compared to the total page generation time (floating around 7-9 seconds). The page generation time reported by the Query Monitor plugin aligns well with the TTFB reported by the network inspector on the same query. It seems to me the page generation time is actually the main issue.

    Looking at my hosting environment, I had the following scenario in the 12 hours prior to the test above:

    https://drive.google.com/file/d/1Y9KTeICb2P5IyXJt9bT170HUmOKjwCU6/view?usp=sharing

    CPU and I/O showing some activity, but under the limits of my current (shared) hosting plan… and no errors/faults detected in the environment.

    In the beginning of this, I thought there was some kind of database bottleneck somewhere, but it does not seem to be the case. The hosting server is actually struggling to generate the page itself.

    Are you able to suggest anything else I can check at this stage? Or that is enough evidence for me to push the issue into my hosting provider?

    Thanks guys

    Thread Starter furzedo

    (@furzedo)

    Hi guys,

    Thank you so much for offering help. Sorry for the delayed reply.

    @riaanknoetze, I am trying to get my head around the Query Monitor plugin. I hope it can shed some light on this issue.

    @lukefiretoss, unfortunately my website was built without a child theme, so I am not sure if there is a safe way to deactivate the WC Admin. Is there? Anyway, even if deactivating the Admin makes my website faster, I’m afraid I cannot operate my ecommerce without the Admin and eventually I will have to reactivate it. Am I missing something?

    I did test the readme.html and the server response is immediate… no delay at all.

    Any further help you can provide will be highly appreciated.

    Thank you.

    Thread Starter furzedo

    (@furzedo)

    Thanks Ewout.

    I will contact the administrator and see if we can reach an agreement in terms of what to do with this plugin. I have a feeling that it is activated, but not used.

    I will update this post as soon as I make some progress here.

    Thanks again.

    Thread Starter furzedo

    (@furzedo)

    Hi Ewout,

    Thank you for your reply.

    I had a look at WC logs from the days I was testing your plugin and did not find errors tagged with “wpo-wcpf”.

    I did find “fatal-errors”, all logging similar errors. An example below:

    2019-08-30T07:40:43+00:00 CRITICAL Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /nas/content/live/storemain/wp-content/plugins/wpmandrill/lib/mandrill.class.php:545
    Stack trace:
    #0 /nas/content/live/storemain/wp-content/plugins/wpmandrill/wpmandrill.php(1897): Mandrill::getAttachmentStruct('/nas/content/li...')
    #1 /nas/content/live/storemain/wp-content/plugins/wpmandrill/wpmandrill.php(1803): wpMandrill::processAttachments(Array)
    #2 /nas/content/live/storemain/wp-content/plugins/wpmandrill/wpmandrill.php(1668): wpMandrill::sendEmail(Array, Array, '', '1', '1')
    #3 /nas/content/live/storemain/wp-content/plugins/wpmandrill/wpmandrill.php(65): wpMandrill::mail('my@email...', '[My Store...', '<!DOCTYPE html>...', 'Content-Type: t...', Array)
    #4 [internal function]: wp_mail('my@email...', '[My Store...', '<!DOCTYPE html>...', 'Content-Type: t...', Array)
    #5 /nas/content/live/storemain/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(611): call_user_func_array('wp_mail', Array)
    #6 in /nas/content/live/storemain/wp-content/plugins/wpmandrill/lib/mandrill.class.php on line 545

    Does it give you a clue about what is happening?

    Thank you!

    Thread Starter furzedo

    (@furzedo)

    Hi lorro,

    You are absolutely right. Shame on me ??

    Thank you

    Thread Starter furzedo

    (@furzedo)

    Hi lorro,

    Thanks for your message.

    Could you please elaborate on your answer? As far as I am concerned, if a seller is selling a product for $1499, inclusive of taxes (which are 10%), then:

    1) the seller gets $1499 from the buyer
    2) the seller has to pay 10% of $1499 ($149.9) to the taxation office

    If I’m right, WooCommerce should advise the buyer that $149.9 out of the $1499 he is paying for that product refers to taxes, not $136.27 as shown in pictures #6 and #7 on my original post.

    Thank you

    • This reply was modified 5 years, 8 months ago by furzedo.
Viewing 6 replies - 1 through 6 (of 6 total)