threadi
Forum Replies Created
-
That looks really strange, and I can imagine how frustrating it is. Here are a few tips to help you find the cause:
- Deactivate all plugins by renaming the plugin directory. You can do this via FTP, for example. Is the issue gone? If so, it was one of the plugins.
- Check the
wp-config.phpfile to see if there’s any custom configuration there. - Check if you have a “mu-plugins” directory. If so, try renaming that directory as a test.
Forum: Installing WordPress
In reply to: Installing WordPress and Woocommerce in Linux UbuntuIt seems you overrode the
wp-config.phpfile by inserting only those two lines. This file is essential for WordPress to function at all, as it contains, among other things, the database credentials.If you made a backup of the file before making this change, restore that backup.
If you don’t have a backup of the file, you have two options:
- Try to reconstruct the file manually. You should still have a file named
wp-config-sample.phpin the same directory. If not, use this one: https://github.com/WordPress/WordPress/blob/master/wp-config-sample.php – you’ll need to rename it towp-config.phpand then enter the database credentials. You may also need to adjust the table prefix if you changed it during the initial installation. Save, and you’re done. - Or perform a complete reinstallation of WordPress. To do this, it’s best to delete the entire directory and the database and start over from scratch.
The actual problem you initially had was that WordPress couldn’t write to its directories and files. There’s also an article about this here: https://developer.ww.wp.xz.cn/advanced-administration/server/file-permissions/
Forum: Plugins
In reply to: [External files in Media Library] username in pathI’ve heard of pCloud before, but I’ve never used it because it’s a paid service. But it looks like a great solution you’ve got there 🙂
There’s a quick fix that should work for you, using this PHP hook:
add_filter( 'efmlwd_service_webdav_path', function( $path, $fields ) {
return str_replace( $fields['login']['value'] . '/', '', $path );
}, 20, 2 );You would need to add it to the
functions.phpfile of your child theme or to your project via a code snippet plugin. After that, the path will be used without the login name.I’ve made a note here to make the path more configurable in future versions.
Forum: Fixing WordPress
In reply to: my website showiung error even after renewThe reason for the error should be visible in the error log. You can find it in your hosting area. If necessary, the support of your hosting can help you.
Alternatively, you could also enable debugging in WordPress. How to do this is described here: https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/ – also here the support of your hosting can help you if necessary to edit the file accordingly.
In both cases you should be able to see what the cause is in the logfile.
Forum: Fixing WordPress
In reply to: Using Tab to indent code in code block (Gutenberg)I totally understand your concern. For me, the code block is also important for displaying code correctly, including indentation. Unfortunately, the code block in the Block Editor doesn’t support this, but there’s a simple reason for that: the Tab key is used to navigate between browser and editor components. Therefore, it can’t be used for indentation at the same time.
However, this can definitely be worked around. In the List Block, you can indent sub-items using the Tab key. I’m just unsure if and how this could be made possible in an environment like the Block Editor.
At the moment, I see the following options for you:
- Take a look at this plugin: https://ww.wp.xz.cn/plugins/code-block-pro/ – it provides a block that might do what you’re looking for. I haven’t tried it myself yet.
- Or contact the Gutenberg team so they can take this into account during further development: https://github.com/WordPress/gutenberg/issues – there’s already a general issue about this: https://github.com/WordPress/gutenberg/issues/17017
Forum: Fixing WordPress
In reply to: Meta Pixel Plugin – Showing blank screenIf you have any questions about the “Meta Pixel for WordPress” plugin, I recommend contacting their support forum here: https://ww.wp.xz.cn/support/plugin/official-facebook-pixel/
Forum: Plugins
In reply to: [External files in Media Library] username in pathHello,
thanks for your question.
Which platform are you using for the WebDAV connection? I just successfully tested it again with NextCloud, for example. What does your connection configuration look like?
If you want to customize the connection, various PHP hooks are available. For example, you can use the filter
efmlwd_service_webdav_pathto adjust the path. Depending on the feedback I receive (like yours here), I might add further options to allow for different WebDAV configurations.Forum: Fixing WordPress
In reply to: WikiMedia Commons images not showingThe images are not displayed because Wikimedia is responding to the request with HTTP status 429. This indicates “too many requests”. This could be related to changes made by Wikimedia this year, which, for example, also limit API requests, resulting in a similar response.
The reason is likely that Wikimedia is not intended to act as an image host. Any integration of images from their hosting service generates additional traffic, which costs the organization money – especially in large quantities.
The simplest solution would be to download these images from Wikimedia and then upload them to your media library in WordPress. As before, be sure to check the copyrights and licenses of the images, although most are already free on Wikimedia. This way, the images will be displayed securely and independently of external services.
Forum: Fixing WordPress
In reply to: Critical Error On WebsiteThe reason for the error should be visible in the error log. You can find it in your hosting area. If necessary, the support of your hosting can help you.
Alternatively, you could also enable debugging in WordPress. How to do this is described here: https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/ – also here the support of your hosting can help you if necessary to edit the file accordingly.
In both cases you should be able to see what the cause is in the logfile.
It’s great that you found it. I just installed the plugin myself and I see a similar output in the footer, just not with the text you’re seeing. As I suspected, the cause is a
var_dump()that the developers apparently forgot to remove from the source code.If you want to continue using the plugin, I’d recommend posting a query on their support forum: https://ww.wp.xz.cn/support/plugin/to-top/ – it looks like several other users have already noticed this there.
I don’t think you’ll find it that way either. It’s a debug output of something that might be stored somewhere in the database. If you’re already searching through files, try looking for
var_dump(), since that’s what generates this output. However, you’ll probably find several hits, so you’ll have to look very closely to determine which one is causing this output.What are the answers to my questions above?
Forum: Fixing WordPress
In reply to: Serious Error When Opening “Customize” After Installing Astra PluginThe error appears to be occurring in the WooCommerce plugin you’re using. I would first recommend checking to see if you’re using the latest version of the plugin. If not, install it and see if that resolves the issue. Otherwise, it’s best to contact their support forum for assistance: https://ww.wp.xz.cn/support/plugin/woocommerce/
I recommend getting in touch with WooCommerce’s support about this via https://woocommerce.com/my-account/create-a-ticket/ if you have any of their paid WooCommerce products or https://ww.wp.xz.cn/support/plugin/woocommerce/ if you do not.
Forum: Fixing WordPress
In reply to: Unable to access /wp-admin after latest WP 6.9 updateI’m a little unsure. Does the message only appear in relation to the calendar you’re using? Or does it also show up when you open it in the browser? The text you posted above doesn’t seem to come from a browser – where are you seeing this?
And which calendar plugin are you using? If you disable it, do the messages go away?
And is missed the screenshot hints in my last post: https://ww.wp.xz.cn/support/forum-user-guide/block-editor/#adding-screenshots
- This reply was modified 3 months, 1 week ago by threadi.
Forum: Fixing WordPress
In reply to: Unable to access /wp-admin after latest WP 6.9 updateWhat specific error messages do you get when it stops working? Feel free to share screenshots of them; see:
Also check to see if you’ve installed all pending updates for your plugins. That might solve the problem.
Check under Tools > Site Health to see if any issues are listed there.