threadi
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: How to fix this plugin-check errorThe problem is a direct SQL query without a prepared statement. This should work:
$placeholders = implode( ',', array_fill( 0, count( $all_ids ), '%d' ) );
$results = $wpdb->get_results(
$wpdb->prepare(
"SELECT * FROM $wpdb->wppa_albums WHERE id IN ($placeholders)",
$all_ids
),
ARRAY_A
);Forum: Fixing WordPress
In reply to: Header does not show in posts generated with individual HTMLYou can find the Astra Support Forum here: https://ww.wp.xz.cn/support/theme/astra/ – I would recommend posting your question there.
Forum: Fixing WordPress
In reply to: Wesite practically deadYou’ve already marked this topic as resolved. Is that correct?
If not: if I understand correctly, the appearance of your website doesn’t change even when you switch themes. Have you cleared your browser cache since then? Or tried using a different browser to access it?
As far as I can tell, your project isn’t using a caching plugin, but does your hosting provider perhaps have one in use? Ask their support team.For screenshots see: https://ww.wp.xz.cn/support/forum-user-guide/block-editor/#adding-screenshots
Forum: Fixing WordPress
In reply to: Boxed layout has disappeared – how regain it?Yes, themes can be confusing. Block themes let you design your own layout without any coding knowledge. The themes provide basic frameworks for this—most of which you can then customize.
The current default theme, TwentyTwentyFive, might be worth a try. My recommendation would be to just give it a try in the Playground. The Site Editor already includes a setting for that. Try the following there:
- Click “Edit Site” at the top. This will take you to the template editor in the Site Editor.
- Click the icon with the half-black, half-white circle in the top right corner. This will take you to the global styles.
- Then click on “Layout” there. You’ll see this:
https://snipboard.io/7Tukw1.jpg
There, you can set the content width and limit it to your desired width. That’s what you refer to as a “boxed layout”. You can simply adjust the values here and see the change immediately in the middle.
As mentioned above, this would make it easy to implement your request with any block theme. Now it would be interesting to know what other requirements you have for the theme. For example, a special menu or specific layouts. A lot is possible with block themes.
Forum: Fixing WordPress
In reply to: Boxed layout has disappeared – how regain it?You should post questions about the Shuttle theme here in their support forum: https://ww.wp.xz.cn/support/theme/shuttle/ – but, much like with the Pro version, there doesn’t seem to be much activity there either.
Without knowing the theme, it’s hard to help you here in the general WordPress forum. The general tips mentioned above are good, but based on your description, it seems to be related to the theme update.
In my opinion, you really only have the following options:
- Contact the theme’s support again.
- Or use a backup you have to restore the old behavior. WP Rollback could also a solution, depending on your project construction which we do not know. Also: create a backup before any change.
- Or find someone who can provide you with personal support. You can find someone like that here, for example: https://jobs.wordpress.net/
- Or look for a different theme for your project.
The term “boxed theme” simply refers to the central alignment of content within a fixed width. These days, this can be achieved with any block-based theme. For more specific tips, it would be helpful to know what other requirements you have. Otherwise, you can just take a look around here: https://ww.wp.xz.cn/themes/tags/full-site-editing/
Forum: Fixing WordPress
In reply to: 2fa plugins as alternative for the full wordfence plugin?I don’t know. You should post questions about WordFence on their forum: https://ww.wp.xz.cn/support/plugin/wordfence/
Forum: Fixing WordPress
In reply to: There has been a critical error on this website.The 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.
I’ve never used it myself, but give this a try: https://ww.wp.xz.cn/plugins/video-embed-thumbnail-generator/
Forum: Fixing WordPress
In reply to: I have a problem with my websiteYou’re encountering a server-side error. No one here is familiar with the project or its configuration, so we can’t tell you exactly what’s causing it. You’ll need to troubleshoot the issue as described above to resolve the error.
If you don’t want to do this on the live system, create a copy of the project and try to reproduce the error there. Some hosting providers offer staging environments for this purpose. You can also use a migration plugin to copy the project to your local machine and test it there.
Alternatively, you can check whether the error still occurs by deactivating all plugins, for example. And yes, this will affect the entire live project – unfortunately, there’s no other way to do this kind of investigation.
Forum: Requests and Feedback
In reply to: Max Version of PHPThis request has actually been made several times. Here are two related tickets in Meta Trac:
https://meta.trac.ww.wp.xz.cn/ticket/4309
https://meta.trac.ww.wp.xz.cn/ticket/7345There you can also see why it was rejected or hasn’t been implemented yet. If you have anything to add, feel free to share your thoughts there.
WordPress uses its own bundle of CA certificates for requests – such as checking for updates – to access SSL-secured URLs like those from ww.wp.xz.cn. You are using WordPress 4.9.9, which is an extremely outdated version of WordPress. This version contains such a CA bundle, which is now significantly older than most of the root certificates on which current SSL certificates are based. As a result, you are now receiving this error message and cannot, for example, check for updates.
To resolve this, you’ll need to update your WordPress. Of course, that’s not possible in its current state, so you’ll have to do it manually. See: https://ww.wp.xz.cn/documentation/article/updating-wordpress/#manual-update – my recommendation would be to first update to the latest version in the 4.9 series. That would be 4.9.29, see: https://ww.wp.xz.cn/download/releases/#branch-49
Once you’ve performed the update, I’d recommend checking whether and how you can update your entire project to real actual versions (6.9.4 of WordPress). This requires checking your hosting environment for PHP files, as well as the plugins and theme you’re using. You can also test such an update on a copy of the project. Your hosting provider may offer a staging environment for this purpose. Alternatively, you can copy the project for testing purposes and try to get it running elsewhere, e.g., locally. See, for example: https://ww.wp.xz.cn/plugins/search/migrate/ – if you need assistance with this, you’ll surely find it here: https://jobs.wordpress.net/
Note: Be sure to always create a backup before making any major changes. If you can’t create one through WordPress, contact your hosting provider’s s
Important: If you don’t make any changes or updates here, your project may soon become inoperable and therefore no longer accessible. You’re also putting your website at risk, simply because of the outdated PHP version required by such an old version of WordPress.
Forum: Fixing WordPress
In reply to: student enrollment problem after purchaseIf you have any questions about Tutor LMS, I recommend contacting their support forum: https://ww.wp.xz.cn/support/plugin/tutor/
Forum: Fixing WordPress
In reply to: Newsletter not sendingIn that case, I would recommend that you contact their support forum: https://ww.wp.xz.cn/support/plugin/jetpack/
Forum: Fixing WordPress
In reply to: Newsletter not sendingWhich plugin do you use to send out the newsletter?