When I look at my Wordpress website, there is this error message on every page, even the pages that don't have any images
There are no photos with those IDs or post does not have any attached images!
I am using the Sinatra theme but I had the same problem when I was using the Twenty Nineteen theme. I am also using the Justified Image Grid plug-in and the error seems to be coming from this plug-in.
To solve this problem, I went to the plug-ins directory and downloaded justified-image-grid-core.php and removed the error message manually there. That did the trick.
Related
I just recently updated my version of wordpress to 5.6.1. Website is www.americano.site
I used to have a set of posts display under "miscelanea/projects" (this is the category name). Now when I access this from the side menu, it doesn't show anything. It seems to connect to the right content, as when you hover the mouse around it shows the posts it is supposed to show, but it is a blank page.
I have very limited knowledge of code but reading through other posts it seems the problem has to do with javascript (main.js file missing). If so, can anybody tell me how to download and upload this to fix this error?
I'm using the Griddist theme by Superb (but problem persists in other themes too)
I am having a strange issue when trying to open the media modal from a woocommerce product.
Basically, the modal just won't show up.
I am running a fresh install of Wordpress (v4.6.1) and WooCommerce. The theme is a custom theme (with correct woocommerce declaration on my functions.php file)
I' ve already tried the following:
Disable all the plugins - Still not working
Revert theme - Still not working
Change permalinks for both Posts and Products - Still not working
Create new products - Still not working
And checked the following:
dev console - no errors are thrown
apache2 error log - again, clear, no errors.
apache2 access log - no errors, still all clear.
Something odd I've noticed, is the actual link:
When I click on add product gallery, the page refreshes because the link is the following:
"http://10.254.237.107/wp-admin/post.php?post=9675&action=edit"
while if I try to add a featured picture (that opens the same modal) the link is correct and the modal shows up correctly:
"http://10.254.237.107/wp-admin/media-upload.php?post_id=9675&type=image&TB_iframe=1"
Do you have any idea why this happens? and how to solve it, or maybe how to debug it a bit more deeply?
Thanks in advance for any suggestion
It turned out to be an issue related, somehow, with woocommerce. I installed a new one and it fixed itself.
To start with, I am not an expert of any kind. Codes drive me insane. I run a site called: http://nascentarray.com.
I moved the site from one host to another and after the migration, I found that many images were broken. So, I changed the permalink structure:
From: nascentarray.com/post-name/
To: nascentarray.com/year/month/date/post-name/
Everything looked fine until I started getting 404 errors on images interested into the posts directly.
To me more specific, I use two methods to insert images:
I use the Jetpack module of WP to create a gallery in mosaic layout that gives a carousel of images when someone clicks on the gallery.
For some posts, using Jetpack gallery module makes no sense and so, I simple insert individual images between texts using the simple media uploader.
Problem: The problem is with the posts where I do not use the Jetpack gallery module. When I click on a post, the post opens fine and shows all images in it. However, the moment I start clicking on individual images, they start giving 404 error.
Example: http://nascentarray.com/2013/02/08/tallest-buildings-of-2013/
Clicking on any image in the post will return a 404 error.
How to solve this problem? Anyone, please help me. This is so disturbing and I don't have enough technical expertise to deal with this on my own and so I can came here with a hope to find some help from experts.
The posts where you don't use jetpack image gallery module doesn't embed a gallery. Instead, you embed images in your posts individually. When you embed, there's option with image link whether you want to link image with post, attachment page, custom link or source file.
Your images are not linked to source file - instead those are linked to POST ATTACHMENT link.
Once you changed the permalinks structure of your post, the links associated with your image files were not updated and those remained as per previous permalink structure those don't exist now and thus it gives 404 error.
It's solution can be to revert your permalinks structure to previous one (short and immediate solution) and other solution can be writing a short script and update all links of images in batch with their source file or anything else.
Another solution is to use Yoast SEO plugin to generate redirect URL's for old backlinks.
See the guide in this blog post regarding this solution.
I hope this helps and you understand the issue now.
Your permalink structure is incorrect. You need to change it back to nascentarray.com/year/month/date/post-name/
If it's already that way, then you need to double check your folders in uploads. Because if you look at your one page here http://nascentarray.com/2013/06/17/stock-wallet-the-only-wallet-you-will-ever-need/
That image is linked with ../year/month/date/post_name/image_name/
i.e. http://i0.wp.com/nascentarray.com/wp-content/uploads/2013/06/stock_wallet_2.jpg?resize=389%2C176
Obviously your plugin for viewing galleries adds the extra stuff in the URL's.
Where as the link you gave above has just ../post_name/image_name/ Which isn't working with your plugin or linking of the image file.
I've got an error in my WordPress installation.
The error is that the columns in the wp admin pages and posts are messed up.
See image here:
I've updated to the latest release of wordpress, tried to disable all plugins and tried to change the column number. Nothing fixed it.
Has anybody seen the same issue and/or know a solution to fix it?
Have you tried switching theme? weird problem..
You also try to download wordpress and replacing all css files in wp-admin/css with the newly downloaded.
If that doesn't work replace the wp-admin/js.
If that doesn't work replace the whole wp-admin folder.
Finally you could try to 'reinstall WordPress' from the dashboard -> updates screen.
Make sure you use the same versions of WP.
And as always make a backup before you start.
I have a wordpress site which was working all fine but suddenly it got hacked by someone. I immediately deactivate my theme and then after sometime activate it. it got recovered but all contents of pages and posts is not showing up but title is showing. I checked databse tables. It contains all posts, also checked wp-admin. It also contains all data. Also tried by deactivating plugins and then activating it. Dont know what to do. please help me, I badly need it. Pleaseee
here is the link
http://islamiroohanimission.org
index page is okay. But go on any menu. it will give the message no post is found.
go to your functions file and see if they messed with your DEFINE posts to remove those parts of the page.