preg_match(): Compilation failed: quantifier does not follow a repeatable item
-
I am getting this error while using the plugin. What should I change?
The code in question is
/** * Check request URI * * @return boolean */ function _check_request_uri() { $auto_reject_uri = array( 'wp-login', 'wp-register' ); foreach ( $auto_reject_uri as $uri ) { if ( strstr( $_SERVER['REQUEST_URI'], $uri ) !== false ) { return false; } } $reject_uri = $this->_config->get_array( 'dbcache.reject.uri' ); $reject_uri = array_map( array( '\W3TC\Util_Environment', 'parse_path' ), $reject_uri ); foreach ( $reject_uri as $expr ) { $expr = trim( $expr ); if ( $expr != '' && preg_match( '~' . $expr . '~i', $_SERVER['REQUEST_URI'] ) ) { return false; } } return true; }
System report:
### WordPress Environment ### WordPress address (URL): https://www.cubenationshop.com Site address (URL): https://www.cubenationshop.com WC Version: 4.5.2 REST API Version: ? 4.5.2 WC Blocks Version: ? 3.1.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? Inactive 1.5.0 Log Directory Writable: ? WP Version: 5.5.3 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: – Language: en_US External object cache: ? ### Server Environment ### Server Info: Apache/2.4.25 (Debian) PHP Version: 7.3.24-3+0~20201103.72+debian9~1.gbp945915 PHP Post Max Size: 10 MB PHP Time Limit: 360 PHP Max Input Vars: 2500 cURL Version: 7.52.1 OpenSSL/1.0.2u SUHOSIN Installed: – MySQL Version: 5.5.5-10.1.48-MariaDB-1~stretch Max Upload Size: 10 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.5.2 WC Database Prefix: wpog_ Total Database Size: 684.49MB Database Data Size: 634.86MB Database Index Size: 49.63MB wpog_woocommerce_sessions: Data: 25.48MB + Index: 1.00MB + Engine MyISAM wpog_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpog_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpog_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_woocommerce_order_items: Data: 1.22MB + Index: 0.64MB + Engine MyISAM wpog_woocommerce_order_itemmeta: Data: 12.68MB + Index: 6.46MB + Engine MyISAM wpog_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpog_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_actionscheduler_actions: Data: 4.02MB + Index: 1.75MB + Engine InnoDB wpog_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpog_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpog_actionscheduler_logs: Data: 2.22MB + Index: 1.88MB + Engine InnoDB wpog_ac_abandoned_cart_history_lite: Data: 1.02MB + Index: 0.00MB + Engine InnoDB wpog_ac_email_templates_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_ac_guest_abandoned_cart_history_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_ac_sent_history_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_bv_fw_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_bv_ip_store: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpog_bv_lp_requests: Data: 0.25MB + Index: 0.00MB + Engine InnoDB wpog_commentmeta: Data: 0.04MB + Index: 0.05MB + Engine MyISAM wpog_comments: Data: 6.39MB + Index: 2.64MB + Engine MyISAM wpog_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_mobileassistant_accounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_mobileassistant_devices: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_mobileassistant_failed_login: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_mobileassistant_push_settings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_mobileassistant_session_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_mobileassistant_users: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_newsletter: Data: 0.47MB + Index: 0.17MB + Engine InnoDB wpog_newsletter_emails: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wpog_newsletter_sent: Data: 0.13MB + Index: 0.13MB + Engine InnoDB wpog_newsletter_stats: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpog_newsletter_user_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_nm_personalized: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpog_options: Data: 7.34MB + Index: 1.16MB + Engine MyISAM wpog_pmxe_templates: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wpog_pmxi_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_pmxi_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_pmxi_imports: Data: 0.20MB + Index: 0.00MB + Engine MyISAM wpog_pmxi_posts: Data: 0.27MB + Index: 0.07MB + Engine MyISAM wpog_pmxi_templates: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wpog_postmeta: Data: 34.28MB + Index: 18.99MB + Engine MyISAM wpog_posts: Data: 3.29MB + Index: 1.13MB + Engine MyISAM wpog_relevanssi: Data: 0.54MB + Index: 0.74MB + Engine MyISAM wpog_relevanssi_log: Data: 4.87MB + Index: 2.44MB + Engine MyISAM wpog_relevanssi_stopwords: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpog_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wpog_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wpog_revslider_slides: Data: 0.26MB + Index: 0.00MB + Engine MyISAM wpog_revslider_static_slides: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wpog_sms_send: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wpog_sms_subscribes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_sms_subscribes_group: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_stock_log: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wpog_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpog_terms: Data: 0.10MB + Index: 0.14MB + Engine MyISAM wpog_term_relationships: Data: 0.22MB + Index: 0.47MB + Engine MyISAM wpog_term_taxonomy: Data: 0.08MB + Index: 0.08MB + Engine MyISAM wpog_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpog_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpog_usermeta: Data: 520.74MB + Index: 5.92MB + Engine MyISAM wpog_users: Data: 0.44MB + Index: 0.52MB + Engine MyISAM wpog_user_token: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpog_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_wc_customer_lookup: Data: 1.52MB + Index: 0.44MB + Engine InnoDB wpog_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_wc_order_coupon_lookup: Data: 0.08MB + Index: 0.11MB + Engine InnoDB wpog_wc_order_product_lookup: Data: 1.52MB + Index: 1.50MB + Engine InnoDB wpog_wc_order_stats: Data: 1.52MB + Index: 0.63MB + Engine InnoDB wpog_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpog_wc_product_meta_lookup: Data: 0.17MB + Index: 0.26MB + Engine MyISAM wpog_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpog_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpog_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpog_yoast_seo_links: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpog_yoast_seo_meta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM ### Post Type Counts ### announcement: 1 attachment: 2350 cool_timeline: 2 custom_css: 1 dwqa-answer: 14 dwqa-question: 26 fep_message: 2 fmemailverification: 1 GOTMLS_quarantine: 1 gs_team: 3 inc_popup: 1 nav_menu_item: 51 o-discount: 1 o-list: 1 oembed_cache: 2 page: 28 post: 10 product: 1142 product_variation: 1625 question_answer: 26 revision: 19 rp_shop_giftcard: 25 shop_coupon: 130 shop_order: 7129 te_announcements: 2 team: 8 tmm: 1 user_request: 1 vtprd-rule: 1 wcct_countdown: 4 woo_discount: 2 wphash_ntf_bar: 2 xlwcty_thankyou: 1 yith_wcps_type: 1 yith-wccos-ostatus: 32 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (38) ### SoftTech-IT bKash, Rocket, Nagad: by Md Toriqul Mowla Sujan – 2.2 – Installed version not tested with active version of WooCommerce 4.5.2 Classic Editor: by WordPress Contributors – 1.6 CMB2: by CMB2 team – 2.7.0 Customizer Export/Import: by The Beaver Builder Team – 0.9.2 Enhanced E-commerce for Woocommerce store: by Tatvic – 2.3.6.1 Facebook for WooCommerce: by Facebook – 2.2.0 WooCommerce - Gift Cards: by WP Ronin – 2.6.5 – Installed version not tested with active version of WooCommerce 4.5.2 Site Kit by Google: by Google – 1.20.0 SMS Extra Integration: by Greenweb BD – 10.0 – Installed version not tested with active version of WooCommerce 4.5.2 Greenweb WP SMS: by Greenweb BD – 29.0.0 HashBar - WordPress Notification Bar: by HT Plugins – 1.1.5 WPBakery Page Builder: by Michael M - WPBakery.com – 6.1 Yoast SEO: Local: by Team Yoast and Arjan Snaterse – 5.0 MalCare Security - Free Malware Scanner, Protection & Security for WordPress: by MalCare Security – 4.4 Mobile Assistant Connector: by eMagicOne – 2.1.8 Performance Improvements for WooCommerce: by Luke Cavanagh – 1.1.0 – Installed version not tested with active version of WooCommerce 4.5.2 Woocommerce Easy Checkout Fields Editor: by phppoet – 1.4.0 – Installed version not tested with active version of WooCommerce 4.5.2 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.4 Relevanssi: by Mikko Saari – 4.9.0 Slider Revolution: by ThemePunch – 6.1.6 WooCommerce Side Cart: by XootiX – 2.1 – Installed version not tested with active version of WooCommerce 4.5.2 Marketica Addons: by TokoPress – 4.5.0 W3 Total Cache: by BoldGrid – 0.15.2 Advanced Order Export For WooCommerce: by AlgolPlus – 3.1.6 NextMove Lite - Thank You Page for WooCommerce: by XLPlugins – 2.13.0 Abandoned Cart Lite for WooCommerce: by Tyche Softwares – 5.8.3 WooCommerce Cost of Goods: by WooThemes / SkyVerge – 2.2.4 – Installed version not tested with active version of WooCommerce 4.5.2 WooCommerce Coupons Countdown: by itthinx – 2.3.2 – Installed version not tested with active version of WooCommerce 4.5.2 Print Invoice & Delivery Notes for WooCommerce: by Tyche Softwares – 4.6.1 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.7.0 PPOM for WooCommerce by N-MEDIA: by Najeeb Ahmad – 20.5 – Installed version not tested with active version of WooCommerce 4.5.2 WooCommerce Stock Manager: by StoreApps – 2.5.2 WooCommerce Ultimate Points And Rewards: by MakeWebBetter – 2.0.11 – Installed version not tested with active version of WooCommerce 4.5.2 WooCommerce: by Automattic – 4.5.2 (update to version 4.7.0 is available) Yoast SEO Premium: by Team Yoast – 13.3 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.1.4 Yoast SEO: WooCommerce: by Team Yoast – 6.1 – Installed version not tested with active version of WooCommerce 4.5.2 YITH WooCommerce Custom Order Status Premium: by YITH – 1.2.1 – Installed version not tested with active version of WooCommerce 4.5.2 ### Inactive Plugins (8) ### Newsletter: by Stefano Lissa & The Newsletter Team – 6.9.6 WordPress Users & WooCommerce Customers Import Export(BASIC): by WebToffee – 2.0.2 WP All Import - WooCommerce Add-On Pro: by Soflyy – 3.2.4 – Installed version not tested with active version of WooCommerce 4.5.2 WP All Import - Yoast WordPress SEO Add-On: by Soflyy – 1.1.8 WP All Import Pro: by Soflyy – 4.4.8 WP Crontrol: by John Blackbourn & crontributors – 1.8.5 WPDBSpringClean: by WPSolutions-HQ – 1.6 WP Mail SMTP: by WPForms – 2.5.1 ### Dropin Plugins (3) ### advanced-cache.php: advanced-cache.php db.php: db.php object-cache.php: object-cache.php ### Settings ### API Enabled: ? Force SSL: ? Currency: BDT (??) Currency Position: left_space 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: – ### WC Pages ### Shop base: #5354 - /shop/ Cart: #5 - /cart/ Checkout: #6 - /checkout/ My account: #7 - /my-account/ Terms and conditions: #3081 - /terms-conditions/ ### Theme ### Name: Marketica WP Child Version: 4.6.2 Author URL: https://www.toko.press Child Theme: ? Parent Theme Name: Marketica WP Parent Theme Version: 4.6.2 Parent Theme Author URL: https://www.tokopress.com/support WooCommerce Support: ? ### Templates ### Overrides: marketica-wp/woocommerce/archive-product.php marketica-wp/woocommerce/cart/cross-sells.php version 3.0.0 is out of date. The core version is 4.4.0 marketica-wp/woocommerce/content-product.php marketica-wp/woocommerce/content-product_cat.php marketica-wp/woocommerce/content-single-product.php marketica-wp/woocommerce/global/wrapper-end.php marketica-wp/woocommerce/global/wrapper-start.php marketica-wp/woocommerce/loop/pagination.php marketica-wp/woocommerce/loop/rating.php marketica-wp/woocommerce/single-product/product-image.php marketica-wp/woocommerce/single-product/product-thumbnails.php marketica-wp/woocommerce/single-product/related.php marketica-wp/woocommerce/single-product/title.php marketica-wp/woocommerce/single-product/up-sells.php marketica-wp/woocommerce/single-product.php Outdated Templates: ? Learn how to update ### Action Scheduler ### Complete: 8,056 Oldest: 2020-10-31 15:39:30 +0000 Newest: 2020-11-22 09:57:27 +0000 Failed: 2 Oldest: – Newest: – Pending: 2 Oldest: 2020-11-22 10:12:20 +0000 Newest: 2020-11-22 10:12:27 +0000
The page I need help with: [log in to see the link]
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘preg_match(): Compilation failed: quantifier does not follow a repeatable item’ is closed to new replies.