Critical Error: Function Name Collision (enqueue_select2_jquery)

This topic has 8 replies, 3 voices, and was last updated 2 days, 14 hours ago ago by Tony Rodriguez

  • Avatar: manos
    manos
    Participant
    April 1, 2026 at 14:36

    Hello,
    I am receiving a critical error on my WordPress site because of a function name collision. The function enqueue_select2_jquery() is being declared in your code and is causing a fatal error when used alongside other plugins (like Skroutz/BestPrice XML feeds).

    Content is visible for topic creator and
    support staff only.
    7 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 1, 2026 at 15:23

    Hello @manos,

    The fix will be included in the upcoming theme update. However, if you would like to apply this fix to your website sooner, please provide us with the correct wp-admin and FTP access in the private content area so that we can upload the fix for you. Alternatively, you may manually download the file from the private area and upload it to your website.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Content is visible for topic creator and
    support staff only.
    Avatar: manos
    manos
    Participant
    April 1, 2026 at 17:46

    Can i upload this file in xstore-child folder?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 1, 2026 at 20:27

    Hello @manos,

    We have provided you with the correct path to upload the file:
    xstore/framework/custom-metaboxes.php

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: manos
    manos
    Participant
    April 1, 2026 at 21:32

    Same issue

    Ένα σφάλμα τύπου E_COMPILE_ERROR εντοπίστηκε στη γραμμή 794 του αρχείου …/public_html/wp-content/themes/xstore/framework/custom-metaboxes.php. Κωδικός σφάλματος: Cannot redeclare enqueue_select2_jquery() (previously declared in …/public_html/wp-content/plugins/woo-xml-feed-for-skroutzgr-bestpricegr/wooshop-skroutzxml.php:41)

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 2, 2026 at 06:06

    Hello @manos,

    Please provide us with the correct wp-admin and FTP access to your website, so we could check from our side, as the issue should be resolved in the updated file. We have corrected the function names (see: https://gyazo.com/d63328508294a63eb871151d9793aade) (enqueue_select2_jquery -> etheme_enqueue_select2_jquery), but it appears that the file was either uploaded to the wrong directory or not updated properly.

    Kindly ensure that the correct file has been uploaded to your server. If you require our assistance, please attach the necessary credentials and include the steps to reproduce the issue.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: manos
    manos
    Participant
    April 2, 2026 at 07:29

    Thanks for the support! My topic “Critical Error: Function Name Collision (enqueue_select2_jquery)” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    April 2, 2026 at 07:29

    Dear manos,

    It’s great having you in our WordPress & WooCommerce community!

    Every insight you share helps us refine XStore and build tools that empower thousands of online store owners worldwide.

    Together, we grow stronger with every release.

    Topic closed.
    The 8Theme Team

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Critical Error: Function Name Collision (enqueue_select2_jquery)’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.