• Resolved faketempl

    (@faketempl)


    Every time I update or install a plugin on my WordPress website it gives a 404 error
    But even if I don’t update anything every day or every 2/3 days it is giving an error
    I deactivate and then activate the woocommerce plugin, and the website starts working fine
    I tried saving the permalinks, which didn’t help, and deleting and recovering htaccess file, which didn’t help as well
    What can cause the problem? And how I can solve it?`

Viewing 10 replies - 1 through 10 (of 10 total)
  • Saif

    (@babylon1999)

    Hello @faketempl,

    Thank you for reaching out.

    Could you please share a copy of your site’s System Status so we can get a better idea of what’s going on? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.

    Also, please check the fatal error logs (if any) from WooCommerce > Status > Logs and choose from the drop-down menu the fatal-errors.log

    Look forward to hearing back from you.

    Thread Starter faketempl

    (@faketempl)

    Dear Saif, thank you for your reply, below is the report


    ### WordPress Environment ###

    WordPress address (URL): https://mytempl.com
    Site address (URL): https://mytempl.com
    WC Version: 7.0.1
    REST API Version: ? 7.0.1
    WC Blocks Version: ? 8.5.2
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –

    ### Server Environment ###

    Server Info: LiteSpeed
    PHP Version: 7.4.32
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d

    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.5.15-MariaDB-cll-lve
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? wp_remote_get() failed. Contact your hosting provider. 503

    ### Database ###

    WC Database Version: 7.0.1
    WC Database Prefix: wp_
    Total Database Size: 469.44MB
    Database Data Size: 350.54MB
    Database Index Size: 118.90MB
    wp_woocommerce_sessions: Data: 11.02MB + Index: 0.28MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.23MB + Index: 0.48MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.28MB + Index: 0.08MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 1.92MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_404_to_301: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 6.02MB + Index: 9.16MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 5.08MB + Index: 5.06MB + Engine InnoDB
    wp_aioseo_cache: Data: 1.52MB + Index: 0.03MB + Engine InnoDB
    wp_aioseo_notifications: Data: 0.03MB + Index: 0.06MB + Engine InnoDB
    wp_aioseo_posts: Data: 25.56MB + Index: 0.19MB + Engine InnoDB
    wp_aioseo_terms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_chaty_contact_form_leads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 1.52MB + Index: 0.61MB + Engine InnoDB
    wp_layerslider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_layerslider_revisions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_options: Data: 22.33MB + Index: 2.25MB + Engine InnoDB
    wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_posts: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_postmeta: Data: 78.63MB + Index: 43.14MB + Engine InnoDB
    wp_posts: Data: 139.67MB + Index: 9.88MB + Engine InnoDB
    wp_rio_process_queue: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_statistics_exclusions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_statistics_historical: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_statistics_pages: Data: 2.52MB + Index: 12.44MB + Engine InnoDB
    wp_statistics_search: Data: 5.52MB + Index: 5.55MB + Engine InnoDB
    wp_statistics_useronline: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_statistics_visit: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_statistics_visitor: Data: 2.52MB + Index: 3.28MB + Engine InnoDB
    wp_statistics_visitor_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 1.52MB + Index: 0.39MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.41MB + Index: 0.25MB + Engine InnoDB
    wp_users: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.13MB + Index: 0.13MB + Engine InnoDB
    wp_wc_download_log: Data: 0.17MB + Index: 0.19MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.28MB + Index: 0.33MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.20MB + Index: 0.23MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 1.52MB + Index: 1.22MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpvivid_scan_result: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpvivid_unused_uploads_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 32.42MB + Index: 11.31MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 1.19MB + Index: 1.64MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.25MB + Index: 0.23MB + Engine InnoDB
    wp_yoast_seo_links: Data: 6.41MB + Index: 6.70MB + Engine InnoDB
    wp_zbscrm_api_keys: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_admlog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_aka: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_zbs_companies: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_zbs_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_zbs_customfields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_zbs_dbmigration_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_zbs_dbmigration_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_zbs_events: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_zbs_event_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_externalsources: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_zbs_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_zbs_invoices: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_zbs_lineitems: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_zbs_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_zbs_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_object_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_zbs_quotes: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_zbs_quotes_templates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_zbs_security_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_segments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_segments_conditions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_settings: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_zbs_sys_cronmanagerlogs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_sys_email: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_sys_email_hist: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_zbs_tags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_tags_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_zbs_tax_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_temphash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_tracking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_zbs_transactions: Data: 0.02MB + Index: 0.14MB + Engine InnoDB

    ### Post Type Counts ###

    attachment: 25051
    avia_framework_post: 10
    custom_css: 5
    customize_changeset: 10
    elementor_library: 1
    jp_pay_product: 2189
    nav_menu_item: 23
    page: 8
    post: 78
    product: 9417
    revision: 4242
    shop_order: 2198
    shop_order_refund: 5
    wp_block: 2
    wp_global_styles: 1

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?

    ### Active Plugins (16) ###

    Advance Bank Payment Transfer Gateway: by Ramesh Kumar – 1.0.4
    Classic Editor: by WordPress Contributors – 1.6.2
    Coinbase Commerce: by Coinbase Commerce – 1.2.1
    Disable Right Click Images: by naa986 – 1.0.1
    Jetpack: by Automattic – 11.5.1
    JivoChat: by JivoChat – 1.3.5.10
    LiteSpeed Cache: by LiteSpeed Technologies – 5.3
    Paypal Manual Payment Gateway: by Md Zahedul Hoque – 1.1
    Robin image optimizer: by Creative Motion – 1.5.8
    Woo Image SEO: by Danail Emandiev – 1.4.0
    WP Sheet Editor – WooCommerce Products (Premium): by WP Sheet Editor – 1.7.20
    Extra Product Sorting Options for WooCommerce: by SkyVerge – 2.9.1
    WooCommerce: by Automattic – 7.0.1
    Yoast SEO: by Team Yoast – 19.9
    WP Statistics: by VeronaLabs – 13.2.7
    Skrill Manual Payment Gateway: by Md Zahedul Hoque – 1.1

    ### Inactive Plugins (1) ###

    WP Sheet Editor – WooCommerce Products: by WP Sheet Editor – 1.7.20

    ### Must Use Plugins (1) ###

    SSO: by Garth Mortensen
    Mike Hansen – 0.3

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator:
    Decimal Separator: .
    Number of Decimals: 0
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)

    Connected to WooCommerce.com: ?
    Enforce Approved Product Download Directories: –

    ### WC Pages ###

    Shop base: #5 – /
    Cart: #6 – /cart/
    Checkout: #7 – /checkout/
    My account: #8 – /my-account/
    Terms and conditions: ? Page not set

    ### Theme ###

    Name: eCommerce Star
    Version: 1.3.9
    Author URL: https://www.ceylonthemes.com
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ?

    ### Templates ###

    Archive Template: Your theme has a woocommerce.php file
    you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.

    Overrides: ecommerce-star/woocommerce/content-product.php

    ### Admin ###

    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page

    Disabled Features: minified-js
    new-product-management-experience
    settings

    Daily Cron: ? Next scheduled: 2022-11-03 14:06:44 +04:00
    Options: ?
    Notes: 55
    Onboarding: completed

    ### Action Scheduler ###

    Complete: 15,187
    Oldest: 2022-09-22 11:18:25 +0000
    Newest: 2022-11-03 11:24:05 +0000

    Pending: 42
    Oldest: 2022-11-03 11:24:06 +0000
    Newest: 2022-11-10 11:21:25 +0000

    ### Status report information ###

    Generated at: 2022-11-08 10:09:14 +04:00
    `

    Hello,

    In general you would like to contact your web host related to this:
    Remote Get: ? wp_remote_get() failed. Contact your hosting provider. 503

    You request them to enable the allow_url_fopen = on option in the PHP settings of your web server or editing the php.ini file.

    To check better into the main issue please share a copy of any fatal error log found under WooCommerce > System Status > Logs.

    Thread Starter faketempl

    (@faketempl)

    Dear Igor, thank you for your response

    Here you can see that there is no error in the logs, I will attach the screenshot

    So, the only way to solve the issue is to contact my hosting provider to change the PHP line?

    https://ibb.co/5GxpsMx

    Hello,

    Sorry, I was not clear enough, wp_remote_get is typically used when sending transaction info to payment gateways, the recommendation above is a general recommendation. I was asking for the error logs to check if there was one more piece of information related to the main issue.

    Pending: 42

    Can you please navigate to WooCommerce > status > scheduled actions > pending. Then please run manually the actions that are pending (if applicable), give it a while, then you can try again to install a plugin to check if the installation is a success.

    Let us know if there are any questions.

    • This reply was modified 2 years, 4 months ago by Igor H.
    Thread Starter faketempl

    (@faketempl)

    Dear Igor,
    Thank you for your reply
    There are 99 pending actions, should I run them all?
    Thank you

    Hello,

    should I run them all?

    If applicable, yes you can.

    Please also navigate to your WP Admin > Settings > Permalinks do a click under Save Changes, then check again, if the issue persists, let us know.

    Thread Starter faketempl

    (@faketempl)

    Dear Igor,
    I did as you mentioned, but after uploading a plugin the error appeared again
    I had to deactivate and activate woocommerce plugin in order to make my website work fine
    Looking forward to hearing from you
    Thank you in advance

    Thread Starter faketempl

    (@faketempl)

    Dear Igor,
    These 8 pending actions don’t run even after hitting run a few times
    Please tell me can this cause the error?
    And where I can get information about it
    Thank you again

    https://ibb.co/MVRLBP3

    Thread Starter faketempl

    (@faketempl)

    I am happy to say that the issue is gone
    My 2 websites mytempl.com and datempl.com are now working perfectly

    I deleted .htaccess file and then saved my permalinks again and the issue was gone

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Getting 404 error even though the links exist’ is closed to new replies.