Display Suite changes disappear, clear cache restores - drupal

I am using Display Suite to add a php button/link to the page for a single content-type. It works great. The title and the custom field (the button) appear as expected.
After some time, less than a day I believe, the title and button are no longer visible.
Checking the content type, the setup for the display has not changed.
Clear Cache All fixes the problem...for a day or so.
I would like the Display Suite custom field and the Title to stay in place on the page.

Your case resembles the problem described in this drupal.org issue. One of the module developers thinks it is mostly related to out of memory exceptions.
A possible solution, described here, is to increase the following PHP settings:
memory_limit to 192MB
max_input_vars to 2000

Related

Block Theme Template parts - Why saving a part updates the other ones?

I was wondering what could be wrong with this...I am building some parts of "new" Full Site Editing and notice that when I am going to save one of its parts, on the sidebar it shows other parts to save/update.
In the example in the screenshot, I am just editing the navbar template part, but see the other things present to be altered, even if they are not available in this part to be edited. There is another model "Header", there is a page "Home" and seven reusable templates to be saved!
The issue with updating the whole site this way is that I don't know what is being changed.
Do you know any configuration which should be done not to this occur? Or is there any documentation that explains this new paradigm? Or is it a bug to be fixed anytime?
In fact, I did press the button one with all the checkboxes marked and some of the other template parts went away emptied (I gone nuts).
See in the second attachment that I could go back and retore previous state (thank goodness!)

Product list randomly disappearing in Woocommerce shop page with W3TC

I manage a Wordpress page that had this issue before, but after doing some caching configuration (W3TC) the product list in shop page started disappearing more frequently. The only thing that brings it back is opening the page in page editor and pressing "update", no changes should be made. Purging all cache also does not help (pages are built using DIVI page builder).
So far I have reverted all of the changes that were made before, but that has not decreased the frequency of the issue.
Because of the store being live, I am not inclined to do plugin uninstalls as it can damage the page even more (Issues of page CSS not loading properly were seen before, purging cache helped in that case)
One thing that I thought about is making some kind of script that updates the page automatically as a temporary solution (a new site is going to be made eventually)
What could be done to either troubleshoot this issue in safe way or at least create an automatic page update script?
-WordPress 5.1.1 running Divi theme, Woocommerce version 3.5.7-
You say page "started disappearing more frequently", do you mean page is loaded but content disappears or it whole page does not load?
Try turning off Minifying in W3TC. I had this problem few times and always a problem was typo in CSS.
In W3TC in General Setting there is possibility to enable Preview mode, turn this on always before deploying. Turn on preview mode, check if everything is Ok, test, search for bugs. And only when you are sure that everything works fine then deploy it.
Thank you Vladimir for the tip about preview mode. The bug unfortunately is not in the CSS though because minifying is not enabled in W3TC.
By "disappearing more frequently" I mean Header and Footer being fine and Body being only partly loaded - Broken page screenshot
However, I have tracked down the issue to woocommerce itself. It seems like the default set shop page is the one crashing regularly. I did not find solution to the initial problem, but I found a trick that works, at least for now.
I created a new Shop page, but instead of linking it in Woocommerce settings, I just included a [products] shortcode. The previous page is still active, but not visible to user. Even if the shop page itself crashes, products are still visible and purchases are possible.

Content region & block not being rendered in drupal 8

I created region for sidebar and render it but it wont show up any pages
i'm not sure where this issue belongs, but this seemed a good place to start.Thanks in advance
This is not a very good question since you did not provide any details on how exactly you created the region (should be defined in your theme_name.info.yml) or how you are trying to render it in your template (should be something along the lines of {{ page.region_name }}).
Since you have not provided example markup, I will assume that you did everything correctly and the region still does not show up anywhere (for example, when showing the region render preview or when trying to assign blocks to regions).
In that case, try clearing the cache (go to /admin/config/development/performance and click "Clear all caches"), then see if the region shows up. If it does not, try and activate a different theme, then reactivate your theme again.
If after performing these actions your region still, does not show up, see above: Please provide example code.

Wordpress Theme Design is not changing

I'm facing a weird problem in wordpress. Every change I make in content and all others except "Theme Design" works great. Every change I make in "Theme Design" it takes almost endless time like when I first made change and then I keep trying on changing and saving different settings of Theme Design, it took almost 2 hours to show my change, same thing happened next time.
I'm using "venedor Green-pink" Theme.
This is my web on which I'm working on: http://www.teuscherchocolate-oc.com/
Background of header is transparent, I made this change 5 hours ago, now I've changed the background to grey color but the changing is not showing up.
It sounds more like a browser issue. When logged into wordpress you should see all changes, even to a simple stylesheet, etc. However, outside of wordpress it could take an undefined amount of time for a browser to clear it's cache automatically for a new stylesheet it doesn't know is updated.
You could consider adding version numbers to the files responsible for your Theme Design changes. In other words, find what styles are being updatted and where. Tack on ?v=1 to the file.
If you clear your cache, do the changes show?

Customizing search results template in Plone 4.3

I'm trying to make just basic structural changes to the search.pt template (under portal_view_customizations — plone.app.search/search.pt). I load this up from portal_view_customizations, hit "customize" at the bottom, and make any sort of changes*. If I do a search on the page after altering the template, it prompts for a username and password.
I'm not getting any errors and can't quite figure out what might be the issue. Is there some workflow or publishing process I'm missing for within /portal_view_customizations? I've been able to edit other things within there like portlet templates without this issue popping up.
Thanks a lot. Non-urgent, but I'm perplexed. :)
*(by any change, I mean I went in and added just a class on the around the brief description — no dice. Tried changing just some of the template text "filed under" after that, still nothing.)

Resources