bowis
Forum Replies Created
-
I see that everywhere in the plugin, the ‘manage_options’ capability is used to give access to the pages, is it possible to override this?
I tried adding that capability! Still, the top-bar does not show unfortunately.
Forum: Plugins
In reply to: [WooCommerce] Page 2 of subcategory gives 404Tested it, did not make any difference
Forum: Plugins
In reply to: [WooCommerce] Page 2 of subcategory gives 404@nielslange here’s the permalink: https://imgur.com/a/LAzeOVO
Additionally, I found this piece of code in my functions.php:
add_filter('request', function( $vars ) { global $wpdb; if( ! empty( $vars['pagename'] ) || ! empty( $vars['category_name'] ) || ! empty( $vars['name'] ) || ! empty( $vars['attachment'] ) ) { $slug = ! empty( $vars['pagename'] ) ? $vars['pagename'] : ( ! empty( $vars['name'] ) ? $vars['name'] : ( !empty( $vars['category_name'] ) ? $vars['category_name'] : $vars['attachment'] ) ); $exists = $wpdb->get_var( $wpdb->prepare( "SELECT t.term_id FROM $wpdb->terms t LEFT JOIN $wpdb->term_taxonomy tt ON tt.term_id = t.term_id WHERE tt.taxonomy = 'product_cat' AND t.slug = %s" ,array( $slug ))); if( $exists ){ $old_vars = $vars; $vars = array('product_cat' => $slug ); if ( !empty( $old_vars['paged'] ) || !empty( $old_vars['page'] ) ) $vars['paged'] = ! empty( $old_vars['paged'] ) ? $old_vars['paged'] : $old_vars['page']; if ( !empty( $old_vars['orderby'] ) ) $vars['orderby'] = $old_vars['orderby']; if ( !empty( $old_vars['order'] ) ) $vars['order'] = $old_vars['order']; } } return $vars; });
If I delete this code, all the categories in the menu do not work anymore.
- This reply was modified 4 years, 4 months ago by bowis.
Forum: Plugins
In reply to: [WooCommerce] Page 2 of subcategory gives 404### WordPress Environment ### WordPress address (URL): https://www.zwenkwielenwinkel.nl Site address (URL): https://www.zwenkwielenwinkel.nl WC Version: 4.2.2 REST API Version: ? 1.0.8 WC Blocks Version: ? 2.5.16 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.2.4 Log Directory Writable: ? WP Version: 5.4.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: nl_NL External object cache: – ### Server Environment ### Server Info: Apache/2 PHP Version: 7.1.26 - We raden je aan om PHP-versie 7.2 of hoger te gebruiken voor betere prestaties en beveiliging. Hoe je PHP-versie bijwerken PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.64.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.2.22-MariaDB Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.2.2 WC Database Prefix: www_ Totale databasegrootte: 45.67MB Database datagrootte: 39.15MB Database index grootte: 6.52MB www_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB www_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB www_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_woocommerce_order_itemmeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB www_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB www_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_actionscheduler_actions: Data: 0.31MB + Index: 0.19MB + Engine InnoDB www_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_actionscheduler_logs: Data: 0.19MB + Index: 0.14MB + Engine InnoDB www_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_clever_visitors_info: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_comments: Data: 0.05MB + Index: 0.09MB + Engine InnoDB www_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_options: Data: 9.27MB + Index: 0.38MB + Engine InnoDB www_pmxe_exports: Data: 0.19MB + Index: 0.00MB + Engine InnoDB www_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB www_pmxe_posts: Data: 0.23MB + Index: 0.00MB + Engine InnoDB www_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_pmxi_imports: Data: 0.28MB + Index: 0.00MB + Engine InnoDB www_pmxi_posts: Data: 0.28MB + Index: 0.00MB + Engine InnoDB www_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_postmeta: Data: 11.52MB + Index: 3.00MB + Engine InnoDB www_posts: Data: 4.52MB + Index: 0.38MB + Engine InnoDB www_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_termmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB www_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_term_relationships: Data: 0.38MB + Index: 0.17MB + Engine InnoDB www_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB www_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB www_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB www_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB www_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB www_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_wc_product_meta_lookup: Data: 0.09MB + Index: 0.13MB + Engine InnoDB www_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB www_wfconfig: Data: 0.47MB + Index: 0.00MB + Engine InnoDB www_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wffilemods: Data: 4.52MB + Index: 0.00MB + Engine InnoDB www_wfhits: Data: 0.22MB + Index: 0.08MB + Engine InnoDB www_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB www_wfknownfilelist: Data: 1.52MB + Index: 0.00MB + Engine InnoDB www_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wflogins: Data: 0.38MB + Index: 0.16MB + Engine InnoDB www_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB www_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB www_wfstatus: Data: 0.14MB + Index: 0.11MB + Engine InnoDB www_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_yoast_indexable: Data: 1.52MB + Index: 0.31MB + Engine InnoDB www_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB www_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_yoast_seo_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB www_zoo_cw_global_config: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_zoo_cw_product_attribute_swatch_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_zoo_ln_filter_config: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_zoo_ln_filter_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_zoo_ln_global_config: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 319 br_product_filter: 1 cmm4e_menu: 15 cmm4e_menu_location: 1 cmm4e_menu_theme: 2 custom_css: 3 elementor_library: 5 jetpack_migration: 2 mc4wp-form: 1 nav_menu_item: 130 page: 22 post: 1 product: 495 revision: 828 shop_order: 42 shop_order_refund: 1 wpcf7_contact_form: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (31) ### Clever Addons for Elementor: door CleverSoft – 2.0.6 Child Theme Generator: door Serafino Corriero – 2.2.6 Clever Addons: door Zootemplate – 1.0.0 Clever Layered Navigation: door cleversoft.co – 1.3.2 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 Clever Mega Menu Pro for Elementor: door CleverSoft – 1.0.0 Clever Swatches: door cleversoft.co – 2.1.4 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 Codefragmenten: door Code Snippets Pro – 2.14.0 Contact Form 7: door Takayuki Miyoshi – 5.2 OnepathDTPlugin: door Corné Steenbakkers Boris Winter – 1.0.0 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 Google Tag Manager for WordPress: door Thomas Geiger – 1.11.4 Elementor Pro: door Elementor.com – 2.10.3 Elementor: door Elementor.com – 2.9.13 Enhanced E-commerce for Woocommerce store: door Tatvic – 2.3.4 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 Loco Translate: door Tim Whitlock – 2.4.0 Mailchimp voor WooCommerce: door MailChimp – 2.4.1 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 MC4WP: Mailchimp for WordPress: door ibericode – 4.7.8 Meta Box: door MetaBox.io – 5.3.2 one.com themes and plugins: door one.com – 0.6.2 WooCommerce Sisow Betaal Opties: door Sisow – 5.5.0 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 TM WooCommerce Product API Link: door Manish – 1.1.0 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 Onder constructie: door WebFactory Ltd – 3.80 W3 Total Cache: door BoldGrid – 0.14.2 WooCommerce Product Feed: door WebAppick – 3.6.10 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 Woo Align Buttons: door 320up – 3.6.5 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 Multi Currency for WooCommerce: door VillaTheme – 2.1.5.5 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 WooCommerce Admin: door WooCommerce – 1.2.4 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 WooCommerce PDF Invoices & Packing Slips: door Ewout Fernhout – 2.5.2 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 WooCommerce Services: door Automattic – 1.23.2 – Ge?nstalleerde versie niet getest met actieve versie van WooCommerce 4.2.2 WooCommerce: door Automattic – 4.2.2 (update naar versie 4.3.0 is beschikbaar) Wordfence Security: door Wordfence – 7.4.9 Yoast SEO: door Team Yoast – 14.4.1 ### Inactive Plugins (2) ### Performance Cache: door One.com – 0.2.2 Visual Composer: door visualcomposer.com – 28.0 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: left_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 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 ### Winkelbasis: #6 - /winkel/ Winkelmand: #7 - /winkelmand/ Afrekenen: #8 - /afrekenen/ Mijn account: #9 - /mijn-account/ Algemene voorwaarden: #4247 - /terms-conditions/ ### Theme ### Name: Cerato Child Version: 1.0.5 Author URL: https://zootemplate.com Child Theme: ? Parent Theme Name: Cerato Parent Theme Version: 1.0.5 Parent Theme Author URL: https://www.zootemplate.com/contact-us WooCommerce Support: ? ### Templates ### Overrides: cerato/woocommerce/cart/cart-totals.php cerato/woocommerce/cart/cart.php versie 3.5.0 is verouderd. De hoofdversie is 3.8.0 cerato/woocommerce/cart/mini-cart.php versie 3.5.0 is verouderd. De hoofdversie is 3.7.0 cerato/woocommerce/checkout/form-checkout.php cerato/woocommerce/checkout/review-order.php versie 3.3.0 is verouderd. De hoofdversie is 3.8.0 cerato/woocommerce/global/form-login.php cerato/woocommerce/global/quantity-input.php versie 3.6.0 is verouderd. De hoofdversie is 4.0.0 cerato/woocommerce/myaccount/form-login.php versie 3.6.0 is verouderd. De hoofdversie is 4.1.0 cerato/woocommerce/myaccount/form-lost-password.php cerato/woocommerce/single-product/add-to-cart/grouped.php versie 3.4.0 is verouderd. De hoofdversie is 4.0.0 /home/zwenk/domains/zwenkwielenwinkel.nl/public_html/wp-content/plugins/clever-swatches/templates/woocommerce/single-product/add-to-cart/variable.php versie 2.0.3 is verouderd. De hoofdversie is 3.5.5 cerato/woocommerce/single-product/meta.php cerato/woocommerce/single-product/clever-swatches-image.php versie 2.0.0 is verouderd. De hoofdversie is 3.5.1 cerato/woocommerce/single-product/rating.php cerato/woocommerce/single-product/tabs/tabs.php versie 2.4.0 is verouderd. De hoofdversie is 3.8.0 cerato/woocommerce/single-product-reviews.php Outdated Templates: ? Leer hoe te updaten ### Action Scheduler ### Afgerond: 735 Oldest: 2020-06-13 15:58:39 +0000 Newest: 2020-07-14 14:53:47 +0000 In afwachting: 1 Oldest: 2020-07-14 15:44:18 +0000 Newest: 2020-07-14 15:44:18 +0000
Forum: Plugins
In reply to: [WooCommerce] Page 2 of subcategory gives 404@senff thank you for the reply, I did this, however it did not result in anything, still getting the 404.
Forum: Fixing WordPress
In reply to: Random out of memory messagesThanks for your responses, the photos I made were just from my iPhone, but probably gonna have to compress them a bit yes. Unfortunately I can not access my php.ini file, hosting does not allow that. They’re called strato. Their FAQ states that the max_upload_size is 64 MB, so that does not really explain my troubles.