theslink2000
Forum Replies Created
-
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Repeating Fields Causing PHP ErrorsWow.
I know perfectly well how to iterate through arrays thank you very much and have been very polite. I don’t appreciate the catty comments when asking a very basic question over your integrations, which aren’t functioning properly, so why would I spend time putting in more effort than required when I don’t need to.
Once again I will thank you for your time but now this conversation is over.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Repeating Fields Causing PHP ErrorsI genuinely wouldn’t want to, but as I said it was a quick experiment and I have access to OnTheGoSystem’s full Toolset suite, I just wanted to see if I could use Pod’s as a lightweight alternative for a small site so it doesn’t make sense to make things more difficult for the sake of it when I know that solution works.
All the best.Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Repeating Fields Causing PHP ErrorsThanks for the quick reply.
That’s really disappointing as it’s way easier to change my CPT method, as Pod’s was just a quick experiment, rather than my page builder.
Thank you again though and good luck with these issues in the future.
Forum: Plugins
In reply to: [WooReer] Wooreer Not Saving SettingsI appreciate there’s not much to go on, but I’ve disabled everything other than Woocommerce, tried the default theme, etc. Unfortunately, if it’s not giving any errors then there’s not much I can do to provide you with anything either.
It’s a shame but I’ve had to give in and use the Woocommerce Distance Rate Shipping plugin. I hate using their ones and always prefer indie plugins but if neither of us can see anything to work from quickly, I need to just push on with a working solution.
Thanks anyway, and I hope this was just an isolated incident for you.Forum: Plugins
In reply to: [WooReer] Wooreer Not Saving SettingsI’d be happy to, except there is nothing to show. You fill in the settings for the distance shipping rate, click save, and then when you open it again it’s empty.
There’s no errors showing, so I’m not sure what I can offer you. It’s also on a live site so I can’t give you access. I was hoping you’d have some debug I could get for you or there would be something common that causes this etc.
Any ideas?Forum: Plugins
In reply to: [Elementor Custom Skin] Adding a More link to Post ExcerptsHi @abidhasan112,
That’s not a bad workaround, thanks!
I came up with something where I set the link to simple # and then used a plugin that makes the entire Elementor column a link to actually send the user to the blog post and some css to change the Read More text colour when you hover over the column.
But I don’t think this will play too well with multiple posts in the archive, the CSS especially will probably trigger all of them at once, so I’ll give your method a go at some point soon.
Still, this seems like a pretty large issue so it’d be nice to hear the devs comment on this and hopefully have a roadmap to include these other widgets functionality in the near future as this plugin is amazing and feels like it should be core Elementor, shame it’s still a little rough around the edges like this.
Hi @wfpeter
As we both suspected I’ve been logging in and out as this user on my phone all day, both on Wifi and 4G using the saved password and typing it in, it has not failed on me once.
I know he uses an iPhone and I’m on Android but I just can’t see it making any difference. Are there any pages that should be immune to caching that you can think of to make sure logins work properly? I think it’s just the login and account pages with Woocommerce, which I have done, and certainly nothing there that would be affected by Wordfence!
I get what you’re saying with the admin-ajax.php, I was just hoping it might be a clue but I did fear it was simply the password rejection process at work.
Thanks for the help anyway, I knew it was a long shot asking as I never thought Wordfence was the culprit but I had to cover my bases.
I can just see this dragging on due to what is most likely some weird kind of user error annoyingly.
All the best.
Hi @wfpeter,
I appreciate you getting back to me.
The biggest problem I’m facing is that I am so far unable to replicate the issue on my end of things. I have can log in straight in as the shop manager in question and even though he says he is using the saved password, which I know is right because I saved it to his device, and typing it in manually, it still fails intermittently for him. I’ve actually seen this on his end when I was using his device to try and troubleshoot things, but I put it down to a local caching issue with the device as when I deleted the website data for this site it started working. But then a few days later he’s complaining of the same issue and uses the stored password 4 or 5 times and then suddenly it works.
Now obviously I’m still heavily suspecting user error of some kind, but the fact that it’s happening semi-regularly and I know this guy is fairly tech-savvy, it’s making me question things. Like I pointed out in my first post, every login failure shows an error Page of “/admin-ajax.php”, which I find odd but I have no idea what it means. Do you?
I’m using the Hello Elementor theme, which is super lightweight anyway and doesn’t mess with login features, but I’ll test with 2021 as well. I already have the Brute Force and Rate Limiting settings fairly relaxed as this is a Woocommerce site and therefore has a lot of people logging in on a regular basis, so that isn’t the problem.
You’re right though, I can’t see why stored passwords would or even could be interpreted differently to typed ones, let alone how Wordfence would be able to see any kind of difference. But as I’ve described above, it seems to happen with typed ones as well. So, unless you can explain that /admin-ajax.php thing I mentioned, I’m left wondering if this is a security or caching plugin issue so I wanted to see if you guys had any thoughts before I did anything drastic.
I’ll continue to experiment with the plugins, but due to it being apparently intermittent I’m not confident I’ll be able to catch it.
Thanks for any input you can offer though.
Hi @riaanknoetze,
I’m going to be honest and say I’m not 100% sure where this widget is defined, I’ve kinda lost track of where they all come from. But hopefully the attached screenshot will give you the context you need to make sense of what I’m saying.
Filter Products by Attribute PHP Errors
### WordPress Environment ### WordPress address (URL): https://store.postscriptfrome.co.uk Site address (URL): https://store.postscriptfrome.co.uk WC Version: 4.7.1 REST API Version: ✔ 4.7.1 WC Blocks Version: ✔ 3.6.0 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 1.6.3 Log Directory Writable: ✔ WP Version: 5.5.3 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ✔ Language: en_GB External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.25 PHP Post Max Size: 128 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1g-fips SUHOSIN Installed: – MySQL Version: 5.7.26-29-log Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 4.7.1 WC Database Prefix: fvp_ Total Database Size: 53.06MB Database Data Size: 34.50MB Database Index Size: 18.56MB fvp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB fvp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB fvp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB fvp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB fvp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_options: Data: 2.09MB + Index: 0.14MB + Engine InnoDB fvp_postmeta: Data: 9.48MB + Index: 4.00MB + Engine InnoDB fvp_posts: Data: 1.48MB + Index: 0.52MB + Engine InnoDB fvp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_termmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB fvp_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB fvp_term_relationships: Data: 0.14MB + Index: 0.08MB + Engine InnoDB fvp_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB fvp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB fvp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB fvp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB fvp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_wc_product_meta_lookup: Data: 0.14MB + Index: 0.31MB + Engine InnoDB fvp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB fvp_wfconfig: Data: 0.09MB + Index: 0.00MB + Engine InnoDB fvp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wffilemods: Data: 9.52MB + Index: 0.00MB + Engine InnoDB fvp_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB fvp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB fvp_wfknownfilelist: Data: 3.52MB + Index: 0.00MB + Engine InnoDB fvp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB fvp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB fvp_wfstatus: Data: 0.19MB + Index: 0.13MB + Engine InnoDB fvp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wpgmza: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wpgmza_circles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wpgmza_maps: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wpgmza_polygon: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wpgmza_polylines: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wpgmza_rectangles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB fvp_wps_hit: Data: 0.02MB + Index: 0.14MB + Engine InnoDB fvp_wps_index: Data: 4.52MB + Index: 9.55MB + Engine InnoDB fvp_wps_key: Data: 0.17MB + Index: 0.13MB + Engine InnoDB fvp_wps_object_term: Data: 1.50MB + Index: 1.64MB + Engine InnoDB fvp_wps_object_type: Data: 0.02MB + Index: 0.08MB + Engine InnoDB fvp_wps_query: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_wps_uri: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_wps_user_agent: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_yoast_indexable: Data: 0.02MB + Index: 0.08MB + Engine InnoDB fvp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB fvp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB fvp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB fvp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### attachment: 1341 custom_css: 1 customize_changeset: 10 elementor_font: 1 elementor_library: 8 mc4wp-form: 1 metform-form: 1 nav_menu_item: 5 page: 11 post: 1 product: 198 product_variation: 978 revision: 384 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (19) ### Code Snippets: by Code Snippets Pro – 2.14.0 Elementor Pro: by Elementor.com – 3.0.5 Elementor: by Elementor.com – 3.0.14 ElementsKit Lite: by Wpmet – 2.0.10 Essential Addons for Elementor: by WPDeveloper – 4.3.7 – Installed version not tested with active version of WooCommerce 4.7.1 Maintenance: by WebFactory Ltd – 3.97 Redux: by Redux.io + Dovy Paukstys – 4.1.23 SG Optimizer: by SiteGround – 5.7.10 WooCommerce Order Test: by WP Fix It – 1.6 – Installed version not tested with active version of WooCommerce 4.7.1 WooCommerce Product & Gallery Images (Slider, Zoom, Lighbox): by weLaunch – 1.0.4 – Installed version not tested with active version of WooCommerce 4.7.1 WooCommerce: by Automattic – 4.7.1 WooLentor - WooCommerce Elementor Addons + Builder: by HasThemes – 1.7.4 Wordfence Security: by Wordfence – 7.4.12 WordPress Starter: by SiteGround – 1.1.2 ### Inactive Plugins (16) ### Facebook for WooCommerce: by Facebook – 2.2.0 Google Ads & Marketing by Kliken: by Kliken – 1.0.6 – Installed version not tested with active version of WooCommerce 4.7.1 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.13.2 Happy Elementor Addons: by weDevs – 2.16.0 Image Hover Effects: by Labib Ahmed – 5.1 Image Hover Effects for WooCommerce Products: by Labib Ahmed – 1.1 – Installed version not tested with active version of WooCommerce 4.7.1 Mailchimp for WooCommerce: by Mailchimp – 2.4.7 – Installed version not tested with active version of WooCommerce 4.7.1 MC4WP: Mailchimp for WordPress: by ibericode – 4.8.1 OptinMonster: by OptinMonster Team – 2.0.2 WP Google Maps: by WP Google Maps – 8.0.28 Yoast SEO: by Team Yoast – 15.3 ### Settings ### API Enabled: ✔ Force SSL: – Currency: GBP (£) Currency Position: left 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 ### Shop base: #8 - /store/ Basket: ❌ Page does not contain the shortcode. Checkout: #10 - /checkout/ My account: #27 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Hello Elementor Version: 2.3.0 Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: – ### Action Scheduler ### Complete: 35 Oldest: 2020-11-07 17:49:53 +0000 Newest: 2020-11-26 23:11:10 +0000
Hi Ketan,
I readable this in your documentation and have already tried these setting options before reaching out. Unfortunately it made no difference. Though I should reiterate that there is no mention of Polyfil anywhere in the error.
I haven’t been able to prove it yet, but I’m starting to suspect the issue might be related to conditional display of certain items. This could either be something in the modal or the button generated to load the modal. But this is only a suspicion at the moment and I’m trying to pin it down further.
Is there anything else that could cause that error or anything else I can try?
Honestly, fair enough bud, these things happen.
I’ll update as soon as it comes down the pipe to WordPress, reevaluate and update the review cause I can’t fault your customer interaction here.
- This reply was modified 4 years, 8 months ago by theslink2000.
Fair enough, I’ll give you the benefit of the doubt and if it gets fixed I will of course amend my review accordingly.
It has just completely disrupted my work this afternoon constantly having it on screen.
Forum: Hacks
In reply to: Localhost Works Fine but Live Site Generating Header ErrorI fixed this problem.
The issue was when the code modified the page title / url then refreshed, for whatever reason the global was returning empty.
So to circumvent this I added a little bit of code that checked if the global $post was populated, if it wasn’t then it would pull the current url and explode it, using / as a separator it then finds the last bit of the url (the post name in WordPress), converts it to the correct format as a string and then uses some other functions I’ve previously written to find the post id from the title and use this instead.
This has plugged the error but I also had to add a manual field to give the new posts of custom post types the security status.
Beyond that it is now working as expected, just had to modify the plugin slightly.
Forum: Hacks
In reply to: Localhost Works Fine but Live Site Generating Header ErrorOk, I’ve been digging into this and I think I know exactly what the problem is I just don’t know what to do about it.
It seems you were right I was hasty to dismiss the two notices, as you pointed out they indicate that the $post global is being read as empty. Here is the section of code that’s playing up (note this is from the plugin so not my work, but the dev’s have unanswered tickets from over a year ago):
function check_for_members_only() { global $post; if ( is_admin() ) return; // Check for a members only blog $blog_is_members_only = get_option( 'wpac_members_only_blog', false ); if ( $blog_is_members_only && ! is_user_logged_in() ) { $redirect_to = get_option( 'wpac_members_blog_redirect', wp_login_url( $_SERVER['REQUEST_URI'] ) ); if ( empty( $redirect_to ) ) { $redirect_to = wp_login_url( $_SERVER['REQUEST_URI'] ); } header( 'Location: ' . add_query_arg( 'redirect_to', $_SERVER['REQUEST_URI'], $redirect_to ) ); exit(); } if ( get_post_meta( $post->ID, '_wpac_is_members_only', true ) && ! WordPressAccessControl::check_conditions( $post->ID ) ) { if ( is_singular() ) { $redirect_to = get_post_meta( $post->ID, '_wpac_members_redirect_to', true ); if ( empty( $redirect_to ) ) { header( 'Location: ' . get_bloginfo( 'wpurl' ) . '/wp-login.php?redirect_to=' . $_SERVER['REQUEST_URI'] ); } else { header( 'Location: ' . add_query_arg( 'redirect_to', $_SERVER['REQUEST_URI'], $redirect_to ) ); } exit(); } } }
The equivalent for non-members has the same problems. The specific line that is throwing the error is:
if ( get_post_meta( $post->ID, '_wpac_is_members_only', true ) && ! WordPressAccessControl::check_conditions( $post->ID ) ) {
This suggests that you’re right and for whatever reason the global $post is empty so the code cannot run this check.
I’ve tested three scenarios for loading this page, navigating to it works fine, after the refresh has been called (after changing the post url and title) it errors and if you try navigating to it directly it errors.
All of these scenarios work correctly locally.
So this leaves me with a definite problem at least, why is the global empty? But leaves two obvious questions: What do I do about it? Why is it only on live not local?
Any ideas bud?
Forum: Hacks
In reply to: Localhost Works Fine but Live Site Generating Header ErrorThanks for that bud, I just tried adding the extra error reporting to my local site, you’re not going to believe this, nothing, no errors it still works perfectly!
The first two errors may be linked to something else, but regardless they’re only warnings, the header error on the other hand is fatal and is what is dragging the site down. Now I understand why header errors are generated, because something is trying to write data to the header after it is already loaded, but I just can’t see how that helps me!
I’ve tried deactivating the plugin and it stops the error, which is both useful and a massive pain as my security structure was built around this plugin! I’ll take your advise and raise a ticket with the dev’s but I’ve never had much luck getting responses from dev’s so if you have any other thoughts please feel free to share.
Thanks for all your help.