Wordpress unable to add Image to Page/Post - wordpress

When creating a new page/post, I can't add images using the "Add Media" feature.
The image selected does not load on the editor. Google Inspect reveal the following error:
POST http://stss.org.sg/wp-admin/admin-ajax.php/load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,suggest,wp-ajax-respons…:445 404 (Not Found)
Have anyone encountered similar issue?
Wordpress Version: 4.7.4
thanks!

Have you tried deactivating all the plugins and see of it works. If it works with all of the plugins disabled you can enable them one by one until it is broken again and you know it is a plugin problem.
If it is still broken try another theme and see if that works.

I just had the same problem, I couldn't insert single image into editor, even though inserting gallery of images worked ok. WordPress was already upgraded to latest version, all plugins were deactivated and default theme activated.
Finally I got it working after turning off ModSecurity in Cpanel for this domain.

Related

Elementor plugin in Wordpress not working even when increase memory limit is done

I am just new in webdev and I've been trying to use Elementor as my builder but it seems that it is not working on my wp. I have increased the memory limit and there are no other plugins running in my wp. Also, when I visit the site from wp, "edit with elementor" does not appear even when "Switch Editor Loader Method" is enabled. When I click "create new page" from elementor, it's just stuck to the loading screen and nothing happens.
hoping someone can help me. thanks a lot!
I tried increasing memory limit and deactivate all other plugins except Elementor
These are some possible solutions :
Clear your browser cache and cookies, as well as your WordPress site's cache, as this can sometimes cause conflicts with the plugin.
Make sure that your version of WordPress, Elementor and all other plugins and themes are up-to-date.
Check your server and browser console for any error messages. These error messages can give you clues as to what might be causing the issue.
Make sure that you have the necessary PHP and MySQL version as per the requirement of the elementor.
Check your site's error logs to see if there are any issues with the plugin or theme that you're using.
Try disabling all other plugins except Elementor and see if that resolves the issue.
Try switching to a default WordPress theme like Twenty Twenty to see if that resolves the issue.
Try reinstalling the elementor plugin and see if it resolves the issue.
Try disabling the "Switch Editor Loader Method" option and see if that resolves the issue.
Check the server settings if the server can handle the load of the elementor plugin.
Have you checked that your Wordpress and/or PHP version is compatible with the current Elementor plugin? These are the minimum requirements for running elementor:
WordPress 5.2 or a more recent version
PHP 7 or a more recent version
MySQL 5.6 or a more recent version
A WordPress memory limit of at least 128 MB
Also there's a handy list of plugin conflicts with elementor here:
https://elementor.com/help/known-plugin-conflicts/

how can solve polylang plugin arabic problem

I am using Polylang plugin in WordPress. Everything works fine on local, but when I move to the live server, I am facing the following problem.
If I try to switch language to Arabic, a lot of "???" are being appended to the URL and I can't reach the page URL in Arabic, because it gives me "This page isn’t working" error.
This page isn’t working - it's because you have those ??? in your URL. Based on what I researched, and other questions on WordPress community (https://wordpress.org/support/topic/arabic-letters-turns-into-question-marks/), it's a plugin/theme conflict with Polylang plugin.
So what I'd suggest to do is to turn off all of the plugins, then try to enable them one by one, testing again and again, so you detect the conflicting plugin.
If disabling all the plugins didn't resolve the issue, try switching to another theme temporarily. If it solves the issue, then the problem is somewhere in your theme's code files.
(do this on live.)

Error displaying oEmbed Wordpress

I've a problem with my wordpress website. When I insert some url for being embedded, it's not working fine.
Here is the issue URL : https://www.duosia.id/windows/cara-mengekstrak-files-menggunakan-winrar-dengan-mudah
And here is the Screenshot :
When I try to visit the embedded url. It's return 404 not found. You can check the embedded url here, https://www.duosia.id/windows/cara-mengekstrak-files-menggunakan-winrar-dengan-mudah/embed/
I've try these common solutions.
Update everything including WordPress, the theme and plugins. Available updates appear in Dashboard > Updates.
Deactivate all plugins in case there is a conflict. If the problem goes away while all plugins are inactive, then reactivate them one by one to determine which is causing the problem.
Switch to the default theme (such as Twenty Thirteen) then try to do what was not working. If the problem remains, it is a general WordPress or hosting issue. If it happens only while using our theme, please let us know.
Clear cache in both your browser and in any caching plugins that you are using (also disable services like CloudFlare, if used with your website).
Revert code changes if you have modified the theme’s code. If using a child theme, reactivate the parent theme.
But, seems no one work.
The WordPress post embeds don't seem to be working on your site.
This URL shows a live example of the problem:
https://www.duosia.id/windows/whatsapp-for-pc/
The two embeds present in that URL are returning a 404, therefore, oEmbeds are not loading properly and showing the 404 page:
https://www.duosia.id/windows/facebook-messenger-for-pc/embed/#?secret=kMPv636bx1
https://www.duosia.id/windows/line-for-pc/embed/#?secret=65m4VpxiYi
Have you tried testing those URLs in the plugin "Rewrite Rules Inspector"?
You should see something like this for any of the "embed" URLs:
index.php?name=$matches[1]&embed=true
Also, have you tried flushing the rewrite rules in WordPress or maybe setting the permalink structure to a different/default one (right now you seem to be using a structure of "category/post-name") to see if it changes anything?
For the file that you are embedding, are you uploading it to the Media Library or some other plugin?
First I would check on the server to verify that the file you are looking to access does exist.
Once you know that the file does exist, then repeat the steps you have listed again.

Why I am redirected to different plugin page url after activating any other plugins in wordpress?

Plese help me figure out this bug.
Problem:
I had installed a syntax highlighter plugin named "Enlighter". But it didn't work as I expected. So I went ahead and deactivated and deleted the plugin files.
Now the problem is that whenever I am trying to activate any other plugins it is redirecting me to the "enlighter" about page. Here's what my url looks when I try to activate any plugins: http://localhost/wp/wp-admin/admin.php?page=Enlighter-About
When I tried to activate TinyMCE Advanced Plugin it is redirected to the above-mentioned URL. You can read the error message in the screenshot attached. However, when I press the back button I can see the "TinyMCE" plugin activated.
I want to know how to fix the problem so that it is redirected to its relevant plugin page instead of enlighter's plugin page.
Thank you!
Okay, So after sharing this problem with "englighter's" plugin developer on the WordPress forum he asked me to clear the browser cache and php op-code cache.
So I resolved this problem by clearing all the browser cache and then everything worked fine for me.
Here's our discussion thread on WordPress https://wordpress.org/support/topic/wrong-plugin-page-redirection-upon-activating-any-plugin/#post-9302622

Wordpress pictures and thumbnails not working

I've been having a few problems with my Wordpress Installations on a couple of my website.
The first problem is that uploading pictures works but when if I add the image to a post for example, it adds it but shows a broken image thumbnail. When I try to access the image though it throws a 403 error. Tried changing the permissions of my uploads directory to 755. Didn't work though.
You can visit this link to get an idea of what's happening.
No thumbnails are showing up on the admin panel. Normally, in the theme installation window, there's a thumbnail on every theme that shows what the theme looks like, in my installation there's nothing like that. It just show blank thumbnails.
I've uploaded an image showing the thumbnail error here.
At first I thought something was wrong with my Wordpress Installation, but after reinstalling it a couple times, I can see that it's something else. Your help would be greatly appreciated.
Use This only permission issue, use 666 for upload folder then images is working well. check this https://codex.wordpress.org/images/e/eb/podz_filezilla_13.gif
If permissions didn't fix it then try this:
1/ Double-check that your PHP configuration is up to date with the latest WordPress version. I made the mistake cause I was previously working on Magento 2 and forgot to switch from PHP 7.2 to 7.4.
2/ Try basic approach deactivate all plugins and see if one is clashing. Do the same with your them or try a native theme TwentyThirteen instead.
3/ Install "Regenerate All Thumbnails" go-to tools and force thumbnails regeneration for the entire library

Resources