Title: Error 500 &#8211; admin-ajax.php
Last modified: May 14, 2025

---

# Error 500 – admin-ajax.php

 *  [José Rebelo](https://wordpress.org/support/users/rebelojose/)
 * (@rebelojose)
 * [1 year ago](https://wordpress.org/support/topic/error-500-admin-ajax-php-2/)
 * Hi,
 * I am experiencing a critical issue with the YITH WooCommerce Compare plugin on
   my WordPress/WooCommerce website. When the plugin is active, I encounter 500 
   or 403 errors on `/wp-admin/admin-ajax.php`, which causes AJAX-based features
   to fail across the site. Disabling the plugin immediately resolves the issue.
 * The error persists as long as YITH WooCommerce Compare v.3.0.0 is enabled. I 
   rollback to v 2.48.0 and don’t give error.
 * Could you please assist me in resolving this issue?
 * regards

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Antonio La Rocca](https://wordpress.org/support/users/therock130/)
 * (@therock130)
 * [1 year ago](https://wordpress.org/support/topic/error-500-admin-ajax-php-2/#post-18466038)
 * Hi and thank you for reporting!
 * Sure, I’d be happy to assist; do you think you can enable error logging and post
   here the specific fatal error you’re experiencing when the plugin is active?
 * This would greatly help with debugging, as I can’t see the same issue on my local
   installation.
 *  Thread Starter [José Rebelo](https://wordpress.org/support/users/rebelojose/)
 * (@rebelojose)
 * [1 year ago](https://wordpress.org/support/topic/error-500-admin-ajax-php-2/#post-18472776)
 * hi, with version 3.0.1 not resolve Ajax error, with 2.48.0 give also Ajax error,
   plugin it is now deactivate on my website.
 * woocommerce v9.8.5 | wp v6.8.1 | Ecomall theme v 1.2.6
 * log above like you ask, I send the same error to template ecomal team
 *     ```wp-block-code
       [19-May-2025 13:08:04 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method YITH_WooCompare_Admin::add_product_url() in .../wp-content/themes/ecomall/framework/woo_hooks.php:1696Stack trace:#0 .../wp-includes/class-wp-hook.php(324): ecomall_add_compare_button_to_product_list()#1 .../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#2 .../wp-includes/plugin.php(517): WP_Hook->do_action()#3 .../wp-content/themes/ecomall/woocommerce/content-product.php(58): do_action()#4 .../wp-includes/template.php(812): require('/home/u59700597...')#5 .../wp-content/plugins/woocommerce/includes/wc-core-functions.php(285): load_template()#6 .../wp-content/plugins/themesky/elementor/ajax-functions.php(330): wc_get_template_part()#7 .../wp-content/plugins/themesky/elementor/woocommerce/products_in_category_tabs.php(572): ts_get_product_content_in_category_tab()#8 .../wp-content/plugins/elementor/includes/base/controls-stack.php(2374): TS_Elementor_Widget_Products_In_Category_Tabs->render()#9 .../wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode()#10 .../wp-content/plugins/elementor/includes/base/widget-base.php(774): Elementor\Widget_Base->render_content()#11 .../wp-content/plugins/elementor/includes/base/element-base.php(482): Elementor\Widget_Base->print_content()#12 .../wp-content/plugins/themesky/class-elementor.php(265): Elementor\Element_Base->print_element()#13 .../wp-includes/class-wp-hook.php(324): TS_Elementor_Addons->elementor_lazy_load()#14 .../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#15 .../wp-includes/plugin.php(517): WP_Hook->do_action()#16 .../wp-admin/admin-ajax.php(192): do_action()#17 {main}  thrown in .../wp-content/themes/ecomall/framework/woo_hooks.php on line 1696[19-May-2025 13:08:05 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method YITH_WooCompare_Admin::add_product_url() in .../wp-content/themes/ecomall/framework/woo_hooks.php:1696Stack trace:#0 .../wp-includes/class-wp-hook.php(324): ecomall_add_compare_button_to_product_list()#1 .../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#2 .../wp-includes/plugin.php(517): WP_Hook->do_action()#3 .../wp-content/themes/ecomall/woocommerce/content-product.php(58): do_action()#4 .../wp-includes/template.php(812): require('/home/u59700597...')#5 .../wp-content/plugins/woocommerce/includes/wc-core-functions.php(285): load_template()#6 .../wp-content/plugins/themesky/elementor/woocommerce/products.php(368): wc_get_template_part()#7 .../wp-content/plugins/elementor/includes/base/controls-stack.php(2374): TS_Elementor_Widget_Products->render()#8 .../wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode()#9 .../wp-content/plugins/elementor/includes/base/widget-base.php(774): Elementor\Widget_Base->render_content()#10 .../wp-content/plugins/elementor/includes/base/element-base.php(482): Elementor\Widget_Base->print_content()#11 .../wp-content/plugins/themesky/class-elementor.php(265): Elementor\Element_Base->print_element()#12 .../wp-includes/class-wp-hook.php(324): TS_Elementor_Addons->elementor_lazy_load()#13 .../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#14 .../wp-includes/plugin.php(517): WP_Hook->do_action()#15 .../wp-admin/admin-ajax.php(192): do_action()#16 {main}  thrown in .../wp-content/themes/ecomall/framework/woo_hooks.php on line 1696
       ```
   
    -  This reply was modified 1 year ago by [José Rebelo](https://wordpress.org/support/users/rebelojose/).
 *  [Juan Coronel](https://wordpress.org/support/users/juaancmendez/)
 * (@juaancmendez)
 * [1 year ago](https://wordpress.org/support/topic/error-500-admin-ajax-php-2/#post-18477037)
 * Hello there,
 * The problem seems to be due to a feature provided by your theme. To be sure, 
   could you please test this with a default WordPress theme like 2025?
 * We’ll be waiting for your response.
 * Best regards.
 *  Thread Starter [José Rebelo](https://wordpress.org/support/users/rebelojose/)
 * (@rebelojose)
 * [1 year ago](https://wordpress.org/support/topic/error-500-admin-ajax-php-2/#post-18478326)
 * w/ default theme Ajax loading works
 *  [Juan Coronel](https://wordpress.org/support/users/juaancmendez/)
 * (@juaancmendez)
 * [1 year ago](https://wordpress.org/support/topic/error-500-admin-ajax-php-2/#post-18480621)
 * Hello there,
 * In that case, I recommend contacting your theme’s support to verify the issue,
   as looking at the error details, it appears to have some sort of custom integration
   with our plugin.
 * Let us know any news.
 * Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error 500 – admin-ajax.php’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-compare/assets/icon.svg?rev=3042935)
 * [YITH WooCommerce Compare](https://wordpress.org/plugins/yith-woocommerce-compare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-compare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-compare/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-compare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-compare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-compare/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Juan Coronel](https://wordpress.org/support/users/juaancmendez/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/error-500-admin-ajax-php-2/#post-18480621)
 * Status: not resolved