Ryan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Customize permalinks problemsHello,
Thank you for clarifying.
It looks like the issue may be that WordPress is already using blog for the category archive URL.
For example, this URL works:
/blog/expert-articles/So WordPress may be treating that as the category archive and according to the output of that page on your site that seems to be the case.
Then when you try this post URL:
/blog/expert-articles/how-internet-marketing-increases-business-sales/WordPress may try to read it as another category level instead of a post, and that can cause the 404.
I would suggest checking this first:
Settings > Permalinks
Then look at the optional field:
Category base
If it is set to:
blogtry removing it or changing it to something else, then click Save Changes.
For example, you could use:
/blog/%category%/%postname%/for posts, but avoid also using blog as the category base.
So the conflict may not be the post slug now. It may be that both the category archive and the post permalink are trying to use the same /blog/category/ structure.
Forum: Fixing WordPress
In reply to: Customize permalinks problemsHi,
I noticed the URL you are getting has the category twice:
/blog/expert-articles/expert-articles/how-internet-marketing-increases-business-sales/That usually means one of these things is happening:
- The post slug or custom permalink already includes expert-articles/
- A permalink/custom permalink plugin has saved a manual URL for the post
- The permalink rules need to be refreshed
I would suggest checking the post edit screen first. Make sure the post slug is only:
how-internet-marketing-increases-business-salesand not:
expert-articles/how-internet-marketing-increases-business-salesThen go to:
Settings > Permalinks
and click Save Changes without changing anything. This refreshes the rewrite rules.
Also check if you are using any permalink-related plugin. If yes, look for a custom permalink value on that post and remove the extra expert-articles/ part.
I believe the correct structure should be:
/blog/category-slug/post-slug/not:
/blog/category-slug/category-slug/post-slug/Forum: Fixing WordPress
In reply to: Anyone know what wp 6.94-en_au update isSeems like a language update for en_au for WP 6.94. If you have that language enabled on your profile or maybe anyone does then it might download that language pack and then it will update it every now and then when an update is released for it.
Forum: Fixing WordPress
In reply to: 2 question about child-theme and extra css file ?Hello,
The child theme might be important, it depends if you or whoever created it added any code to override anything or added any new features, etc. What files are in the child theme and what do they do? You have to look at them to figure out if they are important.
If you’re just wondering if a child theme is necessary, it’s not if the parent theme does everything you want it to, but since underscores is pretty basic you will likely have wanted to add some styles. If it isn’t working you may have not loaded it correctly, but since that theme isn’t intended to use with a child theme you could just modify the main theme.
That theme is specifically designed to modify without a child theme and use as a base to create another theme with rather than using it as a parent theme with a child theme.
If you’re looking for something more modern that gets updates frequently check out Sage. I’m sure there are plenty of others and you can always check the WP docs out as well and read up on the FSE or block themes which is the newer page editing system built into WP.
Best of luck!
Ryan
Forum: Everything else WordPress
In reply to: Documentation for historical WP versionsHello,
Is this what you’re after? https://codex.ww.wp.xz.cn/Creating_a_Search_Page
The old Codex is still available but things have moved to the new articles format.
Is there a specific reason you wouldn’t want to update WP? Is it incompatibilities with plugins or a theme or do you just not like the block features? I’m just curious and maybe there’s a way around whatever it is that’s stopping you from updating if you are at all interested in updating.
Ryan
Forum: Fixing WordPress
In reply to: A Free ThemeHello,
You could use an e-commerce plugin like WooCommerce and the Storefront theme or any theme that supports WooCommerce such as Kadence, Blocksy, and many others.
Then in WP Admin go to Products and edit your product. Down below the Product description set it to a variable product. Now you can see below various tabs and you can add variations of it. You can also add attributes to them.
Hopefully this is what you’re looking for but if not feel free to post back and ask for more help.
Ryan
Forum: Plugins
In reply to: [WooCommerce] got CRITICAL Uncaught Error after woocommerce updateThis appears to be an error with Elementor. Perhaps you updated Elementor but have yet to upgrade Elementor Pro as well, or perhaps it didn’t complete it’s upgrade for some reason. Maybe you can try to manually upload it’s plugin files to make sure they’re all there.
I have the exact same issue too.
A Stripe payment form isn’t working but the same exact form with PayPal is. I have AJAX option on. Going to try with both the AJAX options off maybe.
Not only does it not send emails it doesn’t even save the submission in the database and occasionally people report other issues with it not working too randomly.
Payment goes through. No idea what they actually want until they contact me.
Form has pagination so not sure if that could be an issue or what it could be.
Update: Apparently it shows an error for them of some sort on submit but I wasn’t able to figure out what it is. When I run it in test mode it works perfectly fine.
Sorry, I no longer have that site setup like that so I don’t really know how it should look. I actually switched to using some other plugin for now.
I removed the code that was redirecting the login page and let it use it.
You could use WordFence to protect your site from brute force attacks.
Forum: Plugins
In reply to: [hCaptcha for WP] sitekey for this hCaptcha is incorrectOK I figured it out. I still had recaptcha enabled on Ultimate Member and didn’t realize it was automatically converting it to use hcaptcha. Nice!
Forum: Plugins
In reply to: [WooCommerce] 4.0 and 4.0.1 db-update issue with stockI just got this from upgrading from 3.x to 4.0.1. It appears to be caused by a failed scheduled action.
I was testing upgrading locally on WordPress 5.3.2 with Laragon and PHP 7.4.4, Maria DB 10.4.12, Apache 2.4.35, Windows 10 if it matters.
I don’t see how this could be a plugin conflict since it’s an undefined constant in a WooCommerce file.
I’m curious what issues I might have due to this fail.
Hook: woocommerce_run_update_callback
Status: Failed
Arguments: 0 => ‘wc_admin_update_0251_remove_unsnooze_action’
Group: woocommerce-db-updates
Recurrence: Non-repeating
Scheduled Date: 2020-03-27 16:17:18 +0000 (6 minutes 3 seconds ago)
Log:1. 2020-03-27 16:17:18 +0000 action created 2. 2020-03-27 16:17:20 +0000 action started via WP Cron 3. 2020-03-27 16:17:20 +0000 unexpected shutdown: PHP Fatal error Uncaught Error: Undefined class constant 'QUEUE_GROUP' in E:\www\example.com\wp-content\plugins\woocommerce\packages\woocommerce-admin\includes\wc-admin-update-functions.php:70 Stack trace: #0 E:\www\example.com\wp-content\plugins\woocommerce\includes\class-wc-install.php(223): wc_admin_update_0251_remove_unsnooze_action() #1 E:\www\example.com\wp-includes\class-wp-hook.php(288): WC_Install::run_update_callback('wc_admin_update...') #2 E:\www\example.com\wp-includes\class-wp-hook.php(312): WP_Hook->apply_filters('', Array) #3 E:\www\example.com\wp-includes\plugin.php(544): WP_Hook->do_action(Array) #4 E:\www\example.com\wp-content\plugins\woocommerce\packages\action-scheduler\classes\actions\ActionScheduler_Action.php(22): do_action_ref_array('woocommerce_run...', Array) #5 E:\www\example.com\wp-content\plugins\woocommerce\packages\action-scheduler\classes\abstracts\ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action in E:\www\example.com\wp-content\plugins\woocommerce\packages\woocommerce-admin\includes\wc-admin-update-functions.php on line 70Claim ID: 0
Forum: Fixing WordPress
In reply to: wp-cli: choose php versionSounds like you may want to consider a new host. I personally really like FastComet and they have wp-cli built in from the start. Their support is usually great as well.
Forum: Fixing WordPress
In reply to: wp-cli: choose php versionForum: Fixing WordPress
In reply to: I have a problem with the other attributeAlso it would have been great of you to link to your other post here: https://wordpress.stackexchange.com/questions/360692/i-want-to-add-the-alt-attribute-to-all-the-photos