Wordpress and Woocommerce - unable to add gallery - wordpress

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.

Related

Images showing in description of woocommerce products instead of normal thumbnail location

Instead of images showing up as thumbnails underneath the main product image, they are getting added to the description section of each product. Here is an example product page: https://vdgmilitaria.com/shop/other-axies-allies/italy/ww2-italian-german-african-campaign-medal/
Any idea what could be causing this?
As a side note it seems like some of the styles on the website are now broken too and things are sitting in weird places such as the screenshot attached.
I've tried inspecting the product pages on my website with the web developer tools, but still can't figure out what is going on here.
This issue is likely caused by changes made to the WooCommerce theme or plugins affecting the product page layout and functionality. To fix it, you can try the following steps:
Disable all plugins temporarily and see if the issue is resolved. If so, re-enable each plugin one by one and check if the issue reappears after each activation.
If disabling plugins doesn't resolve the issue, try switching to a default WordPress theme like Twenty Twenty-One to see if the problem is with the theme.
If the issue still persists, you can try contacting the WooCommerce support team or the theme author for further assistance.
If all else fails, consider hiring a WordPress developer to investigate the issue and make necessary fixes.
Note: Before making any changes, it's always a good idea to backup your website to avoid losing any data.

Wordpress not showing posts (Griddist theme)

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)

Problem expanding ACF fields in Wordpress admin view - Console errors

I have som problems regarding Advanced Custom Fields on a site. Have tried to deactivate all other plugins but no success there.
Everything works fine on the site but in the admin view I cant expand any ACF-fields. I´ve tried to search for any related problems but cant seem to fix this.
Below you can se the errors in the console:
So... I just added define('SCRIPT_DEBUG', true); into config.php and it solved the problem for now...

Wordpress menu not working after update

I purchased the Angular theme for wordpress some months ago for a portfolio site to show off my front-end web dev work (Too lazy to create my own).
I went to update the site last night and noticed that the menu had stopped functioning. If I click on a menu item the URL will change to the URL of the link but the page will remain on the current page and not display the content of the new URL.
My website is http://www.decodedcreative.com.
Does anyone have any ideas or things that I could try to resolve the problem?
I have switched the theme to the twentytwelve theme and the menu then works as expected and have also tried re downloading the entire Angular theme in case I'd corrupted a file.
Any ideas?
Thanks
P.S - I've also tried restarting Apache on my server but to no avail. This question is also asked on the support forum for the theme.
When you are viewing the list of pages in Wordpress, try using the "Quick edit" to edit the page Slug. Even though I had updated the permalink when you use the "Edit" link, it didn't actually update the slug. Updating the slug will fix it.

Wordpress: Posts and pages content not showing but title is

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.

Resources