Niko
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Using Emojis with a WordPress WebsiteHi?@wvanskaik,
It seems like you’re facing an issue with saving and displaying emojis on your website. The problem could be related to the encoding or handling of emojis in your database, especially with 5-digit emojis, which are often represented as Unicode code points.
Make sure you have added these to your wp-config.php:define('DB_CHARSET', 'utf8mb4'); define('DB_COLLATE', 'utf8mb4_unicode_ci');
If issue persists after setting the config above, you can try to check your collation settings on your phpMyAdmin. Make sure your collation settings is set to the recommended: utf8mb4_unicode_ci , you may check this article on how to set it.
Make sure to backup your database before making any changes!All the best!
Forum: Fixing WordPress
In reply to: Japanese converted to ????Hi @adamrice,
It seems like you are encountering issues with character encoding on your blog, specifically with Japanese text turning into mojibake (garbled characters) and further issues when updating the content.
Just to make sure you have your wp-config.php set to :define('DB_CHARSET', 'utf8mb4'); define('DB_COLLATE', 'utf8mb4_unicode_ci');
If issue persists after setting the config above, you can try to check your collation settings on your phpMyAdmin. Make sure your collation settings is set to the recommended: utf8mb4_unicode_ci , you may check this article on how to set it.
Make sure to backup your database before making any changes!All the best!
Forum: Fixing WordPress
In reply to: fixing my home page and blog pageHi @lynsharp,
Upon checking your site, I am not seeing a ‘page not found’ error. Here is what I see on my end: https://share.zight.com/nOuJPbkv Have you made any recent changes? The blog page shows this: https://share.zight.com/5zuvYPGR
If you are using a cache plugin, you may want to clear it as well.
Have a great day ahead!Hi @smartnursecpd,
Looking at your site plugins, it seems you are using Woocommerce. Since this involves 3rd party plugin, please refer your concern to their dedicated support forum here: https://www.ads-software.com/support/plugin/woocommerce/
Have a good day!
Forum: Fixing WordPress
In reply to: Error message when I try to upload to media libraryHi @eriinazato,
I appreciate you reaching back and doing the steps I suggested earlier. For the Browser uploader version, can you please try this direct link, make sure to change the domain to yours:
https://YOUR-SITE-ADDRESS.com/wp-admin/media-new.php?browser-uploader
Try to upload a small image first and let us know how it goes.
All the best!
Forum: Fixing WordPress
In reply to: User registrationHi @serenitytraders,
The error message you’re encountering suggests that the user registration settings might not be configured correctly or there could be a conflict with a plugin or theme.
Here are some steps you can take to resolve the issue:- Verify the subscriber role in the settings page, check the “New User Default Role” setting. Make sure it’s set to a role that allows user registration, like Subscriber.
- Disable all plugins and switch to a default WordPress theme (e.g., Twenty Twenty-One). Try registering a new user again. If it works, then the issue is likely caused by a plugin or theme. Re-enable plugins and the theme one by one to identify the problematic one.
Hope that helps!
Forum: Fixing WordPress
In reply to: Site Kit not connecting to REST APIHi @makerofmoon,
The issue you’re facing with Site Kit on your WordPress website could be related to the hosting environment or configuration. Here are some steps you can take to troubleshoot and potentially resolve the problem:- Ensure that your WordPress website allows access to the REST API. You can check this by going to your website’s WordPress dashboard, navigating to “Settings” > “Reading,” and making sure that the option “Discourage search engines from indexing this site” is unchecked.
- check the REST API by appending
/wp-json/wp/v2/
to your site’s URL (e.g.,https://yoursite.com/wp-json/wp/v2/
). You should see a list of available endpoints. - Deactivate all plugins and switch to a default WordPress theme (like Twenty Twenty-One). Then, reactivate Site Kit and check if the issue persists. If it doesn’t, there may be a conflict with another plugin or your theme.
I also read a lot of API issues with your hosting provider here and here.
if you are still getting error after doing the steps above, I suggest you post your issue on the Plugin support forum: https://www.ads-software.com/support/plugin/google-site-kit/
Have a great day!
Forum: Fixing WordPress
In reply to: Error message when I try to upload to media libraryHi @eriinazato,
That’s very strange that your upload issue is specific to Safari only. To help with troubleshooting, can you try the following:
- Disable any Safari extensions you have, or try in Private mode.
- If you have security plugins enabled on your WordPress site, temporarily disable it and try again.
- Try to use the “browser uploader” option when uploading to media.
All the best!
- This reply was modified 9 months, 3 weeks ago by Niko.
Hi @wpuser916,
If you’re experiencing the “Updating failed. Could not update post in the database.” error when trying to save or publish posts in WordPress, it can be caused by various factors. Here are some additional troubleshooting steps you can take:
1. Try repairing your WordPress database using the following steps:- Access your site’s root directory via FTP.
- Locate the
wp-config.php
file. - Add the following line just before the “That’s all, stop editing!” line:
define('WP_ALLOW_REPAIR', true);
- Save the file and visit
https://yourdomain.com/wp-admin/maint/repair.php
in your browser. - Follow the on-screen instructions to repair your database.
Remember to remove the line you added to
wp-config.php
after completing the repair process. You can also check WordPress dev article: https://developer.www.ads-software.com/advanced-administration/wordpress/wp-config/#automatic-database-optimizing2. There might be an issue with specific database tables. You can install some Plugins that can help you clean and optimize your database tables.
3. Reach out to your hosting provider’s support. They may be able to check server logs and identify any server-side issues causing the problem.
Remember to back up your site before making any significant changes.
Have a great day!Forum: Fixing WordPress
In reply to: Issues with Stripe API keyHi @yarrowm,
It’s unfortunate to hear that you’re experiencing issues with the Stripe API key and the integration with the Amelia and Learndash plugins. Troubleshooting this kind of problem can involve several steps to identify and resolve the issue. However, the issue involves a 3rd party plugin which you have also mentioned you have reached out to them already.My next approach would be to contact your hosting provider to see on their end if any firewall is blocking the connection with Stripe.
Have a great day.Forum: Fixing WordPress
In reply to: Pointing a WordPress subfolder to the main siteHi
If you want to make the WordPress installation in the sub-folder (vannercentral.com/Wordpress
) to the main homepage (vannercentral.com
), there are a few steps to make this possible, and you need to adjust both WordPress settings and your site’s root directory. This article here is a good instruction, although it is for subdomains, it also applies to subfolder move.
Have a great day ahead!Forum: Fixing WordPress
In reply to: Search inside WordPressHi @themoin,
While a redirect issue might be a possibility, there are other common issues you might want to check as well. Here are some troubleshooting steps you can follow:
1. Ensure that your permalinks structure is set up correctly. Go toSettings -> Permalinks
in your WordPress dashboard and choose a permalink structure that suits your needs. Sometimes, resetting permalinks can fix search-related issues.
2. You can rebuild the search index using a plugin like “SearchWP” or by resetting it. Go toSettings -> Reading
and click on the “Save Changes” button to reset the search index.
3. Switch to a default WordPress theme (such as Twenty Twenty-One) and see if the search starts working. If it does, your theme might be the culprit.
4. Disable all plugins and check if the search function starts working. If it does, reactivate each plugin one by one to identify the one causing the issue. Some plugins might interfere with the default search functionality.
Have a great day!Forum: Fixing WordPress
In reply to: Additional css and style.css – not loading in editorHi @edtwodth,
The styles you’re adding to the child theme’s
style.css
may not be specific enough to override the default styles applied by the editor.In the WordPress editor, there may be more specific styles applied to the elements, and if your styles are not specific enough, they might not take precedence.
Here are a few things you can try:
1.Add more specificity to your CSS rules. For example, you can prefix your selectors with a more specific class or ID that is unique to the editor. This can help ensure that your styles are applied in the editor..editor-styles-wrapper .has-xxxxx-large-font-size { line-height: 1.15; font-family: "Roboto Slab"; font-weight: 500; } .editor-styles-wrapper .has-xxxx-large-font-size, .editor-styles-wrapper .has-xxx-large-font-size, .editor-styles-wrapper .has-xx-large-font-size, .editor-styles-wrapper .has-x-large-font-size, .editor-styles-wrapper .has-large-font-size { line-height: 1.2; font-family: "Roboto Slab"; font-weight: 500; }
2. Although not recommended to use
!important
as a solution, you can try using it to force your styles to override existing ones. However, use it with caution, as it can make your styles harder to maintain..has-xxxxx-large-font-size { line-height: 1.15 !important; font-family: "Roboto Slab" !important; font-weight: 500 !important; } .has-xxxx-large-font-size, .has-xxx-large-font-size, .has-xx-large-font-size, .has-x-large-font-size, .has-large-font-size { line-height: 1.2 !important; font-family: "Roboto Slab" !important; font-weight: 500 !important; }
Make sure to clear your browser cache after making these changes to see the updated styles in the WordPress editor.
Have a great day!Forum: Fixing WordPress
In reply to: Product short description not getting updatedHi @bhoomigardencentre,
Since your concern involves a 3rd party plugin, please raise this issue with WooCommerce dedicated support forum here: https://www.ads-software.com/support/plugin/woocommerce/
Have a nice day!Forum: Fixing WordPress
In reply to: Help with site speedHi @industryoutsider,
It seems like you’ve already taken some steps in the right direction. Here are some additional tips to help you further optimize your website:
1. Ensure that images are properly compressed without compromising quality. There are image compression plugins for this.
2. Minify your CSS, JavaScript, and HTML files to reduce their size. Plugins are available for this as well.
3. Consider upgrading your hosting plan or optimizing server-side scripts to reduce the time it takes for your server to respond.
4. Use a CDN to distribute your static assets across multiple servers globally.
5. Install a good caching plugin.
All the best!