• Resolved sotirisa

    (@sotirisa)


    Hi

    After I try to create an xml file I have:

    A critical error has occurred on the site. Check your admin email inbox for instructions.

    When ths is happening It tries to make the feed but nothing happens.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hi,

    Thanks for using our plugin and reaching out to us. Sorry to hear you are experiencing issue when creating a feed.

    Did you already try enabling this general plugin setting? https://www.dropbox.com/scl/fi/lii7cnorc4lygl1233kzn/Screenshot-2023-10-18-at-13.17.20.png?rlkey=9nwd10uy3wwswpxeioxuesmx9&dl=0

    Thread Starter sotirisa

    (@sotirisa)

    hi,

    Yes I already did that. It didn’t work.

    In that case have a look at the WooCommerce fatal error log file for a day you tried creating a feed. It will most likely contain an error, changes are the error is related to a maximum CPU or memory usage or a maximum execution time reached. This is where you can find the WooCommerce fatal error log: https://woocommerce.com/document/finding-php-error-logs/

    Can you have a look at them and share its content with us?

    Thread Starter sotirisa

    (@sotirisa)

    hi

    Yes I have some critical errors about this:

    2023-10-23T07:09:56+00:00 CRITICAL Maximum execution time of 60 seconds exceeded μ?σα στο /home/gioelleg/public_html/wp-includes/class-wpdb.php στην γραμμ? 1544

    This is something that I must update to my server right?

    Hi,

    The maximum execution time can be changed in your php.ini file. See: https://docs.gravityforms.com/increasing-php-max-execution-time/#:~:text=Modifying%20your%20max%20execution%20time%20in%20php.,-ini&text=Depending%20on%20your%20hosting%20provider,scripts%20are%20allowed%20to%20run.

    Try putting it on a 120 seconds.

    Hope this helps?

    Thread Starter sotirisa

    (@sotirisa)

    hi again

    I put in 300 and I get an error again. the error is something odd because it shows me two products. Check this

    https://gyazo.com/47f3965700fe0c1ff266792f8b992c24

    It’s something with this products?

    Hi,

    Are you sure the 300 worked? What does the error message show now? Previously it was this one: 2023-10-23T07:09:56+00:00 CRITICAL Maximum execution time of 60 seconds exceeded μ?σα στο /home/gioelleg/public_html/wp-includes/class-wpdb.php στην γραμμ? 1544

    Alternatively also try lowering the default batch size of the plugin. The default value is 750. Try lowering it to 250 to see if it makes a difference. This is how you can do so: https://adtribes.io/batch-size-configuration-product-feed/

    Thread Starter sotirisa

    (@sotirisa)

    Hi,

    yes it didn’t.

    I also tried to make a feed only with a category (12 products) and I get the error again.

    today I have all these errors:

    2023-10-24T07:05:38+00:00 CRITICAL Uncaught WpOrg\Requests\Exception\InvalidArgument: WpOrg\Requests\Cookie::__construct(): Argument #1 ($name) must be of type string, integer given in /home/gioelleg/public_html/wp-includes/Requests/src/Exception/InvalidArgument.php:29 Stack trace: #0 /home/gioelleg/public_html/wp-includes/Requests/src/Cookie.php(84): WpOrg\Requests\Exception\InvalidArgument::create(1, ‘$name’, ‘string’, ‘integer’) #1 /home/gioelleg/public_html/wp-includes/class-wp-http.php(472): WpOrg\Requests\Cookie->__construct(4, ”) #2 /home/gioelleg/public_html/wp-includes/class-wp-http.php(352): WP_Http::normalize_cookies(Array) #3 /home/gioelleg/public_html/wp-includes/class-wp-http.php(616): WP_Http->request(‘https://gioelle…’, Array) #4 /home/gioelleg/public_html/wp-includes/http.php(186): WP_Http->post(‘https://gioelle…’, Array) #5 /home/gioelleg/public_html/wp-content/plugins/woocommerce/includes/libraries/wp-async-request.php(85): wp_remote_post(‘https://gioelle…’, Array) #6 /home/gioelleg/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php(71): WP_Async_Request->dispatch() #7 /home/gioelleg/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php(60): ActionScheduler_AsyncRequest_QueueRunner->maybe_dispatch() #8 /home/gioelleg/public_html/wp-content/plugins/woocommerce/includes/libraries/wp-async-request.php(147): ActionScheduler_AsyncRequest_QueueRunner->handle() #9 /home/gioelleg/public_html/wp-includes/class-wp-hook.php(310): WP_Async_Request->maybe_handle(”) #10 /home/gioelleg/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) #11 /home/gioelleg/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /home/gioelleg/public_html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_as_asyn…’) #13 {main} thrown μ?σα στο /home/gioelleg/public_html/wp-includes/Requests/src/Exception/InvalidArgument.php στην γραμμ? 29 2023-10-24T07:14:48+00:00 CRITICAL Maximum execution time of 300 seconds exceeded μ?σα στο /home/gioelleg/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-query-parser.php στην γραμμ? 496 2023-10-24T07:17:12+00:00 CRITICAL Maximum execution time of 300 seconds exceeded μ?σα στο /home/gioelleg/public_html/wp-includes/class-wp-hook.php στην γραμμ? 309 2023-10-24T07:20:09+00:00 CRITICAL Maximum execution time of 300 seconds exceeded μ?σα στο /home/gioelleg/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php στην γραμμ? 900 2023-10-24T07:33:56+00:00 CRITICAL Maximum execution time of 300 seconds exceeded μ?σα στο /home/gioelleg/public_html/wp-includes/class-wp-term-query.php στην γραμμ? 1162 2023-10-24T07:49:37+00:00 CRITICAL Maximum execution time of 300 seconds exceeded μ?σα στο /home/gioelleg/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php στην γραμμ? 56 2023-10-24T08:08:41+00:00 CRITICAL Maximum execution time of 300 seconds exceeded μ?σα στο /home/gioelleg/public_html/wp-includes/plugin.php στην γραμμ? 179 2023-10-24T08:14:41+00:00 CRITICAL Maximum execution time of 300 seconds exceeded μ?σα στο /home/gioelleg/public_html/wp-includes/class-wp-list-util.php στην γραμμ? 166

    Thread Starter sotirisa

    (@sotirisa)

    Hi again,

    I make these changes and the feed started put it’s in 4% and it doesn’t change. these feed must have 12 products and it is not right to do so much time.

    I have used again your plugin and I never had any problem.

    Hi,

    The errors you just pasted indicate you are running a multi-lingual plugin, most likely WPML, is that correct? WPML is a very server resource intensive plugin and might cause the issue at hand. Did you only recently install WPML? (it is also not compatible with the free version of our plugin).

    The only think I can advise it so keep lowering the batch size (try 50) and see if that solves the issue at hand.

    Thread Starter sotirisa

    (@sotirisa)

    hi,

    Yes I’m using wpml plugin. No I didn’t install recently.

    Also I don’t know if the feed that is making is for the prducts in all languages or only one. I can make one to unerstand.

    If I buy your plugin I can choose the language that I want to have in the feed?

    Thank you.

    Hi,

    Unfortunately, per the WordPress forum guidelines, we’re not allowed to discuss our paid Elite plugin here so for any questions about our paid plugins, please reach out to [email protected]

    Did you already try a real low batch size?

    Thread Starter sotirisa

    (@sotirisa)

    Ok I understand.

    Yes I try with 50 it seems that is making the feed but is very very slow. In 2 hours is in 36% for 12 products. Is this normal?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Critical Error’ is closed to new replies.