WordPress.org Forums » All Posts https://wordpress.org/support/forum/how-to-and-troubleshooting/feed/ Sun, 11 Dec 2022 03:32:30 +0000 https://bbpress.org/?v=2.7.0-alpha-2 en-US https://wordpress.org/support/topic/how-to-save-changes-to-code/#post-16278156 <![CDATA[How to save changes to code?]]> https://wordpress.org/support/topic/how-to-save-changes-to-code/#post-16278156 Sun, 11 Dec 2022 03:18:15 +0000 fatchance Hi. I am using an Starter Template with Astra. There is an uneditable footer at the bottom of my pages. Can’t edit it in Elementor or WP.
I figured out that if I right click on the section and click ‘Inspect” I can delete this footer and it’s content. I hit backspace with the text highlighted and the footer disappears.
But when I reload the page or restart my computer, the footer is back.
How do I save the changes I have made to the text editor? I’m not seeing anything obvious in the text that would make my changes stick.

Thanks in advance.

]]>
https://wordpress.org/support/topic/white-overlay-on-all-product-images/#post-16278056 <![CDATA[Reply To: White overlay on all product images]]> https://wordpress.org/support/topic/white-overlay-on-all-product-images/#post-16278056 Sun, 11 Dec 2022 00:10:28 +0000 audrey09 (@karthickmurugan) Okay, i’ll do that. Thank you!

]]>
https://wordpress.org/support/topic/white-overlay-on-all-product-images/#post-16278054 <![CDATA[Reply To: White overlay on all product images]]> https://wordpress.org/support/topic/white-overlay-on-all-product-images/#post-16278054 Sun, 11 Dec 2022 00:08:45 +0000 audrey09 (@swayamtejwani) The overlay setting isn’t available for product images. The images were fine before, they just changed all of a sudden

]]>
https://wordpress.org/support/topic/the-layout-of-my-site-is-not-functionning/#post-16278045 <![CDATA[the layout of my site is not functionning]]> https://wordpress.org/support/topic/the-layout-of-my-site-is-not-functionning/#post-16278045 Sat, 10 Dec 2022 23:52:15 +0000 barcy Good evening everyone,

I have a problem with my site and I need a help to solve it. Yesterday the layout of my site changed and is not showing anymore the theme that I choosed. I try my best to fix it but I can’t.
Hope that someone could help me, the domain is barcy.club

Thanks

]]>
https://wordpress.org/support/topic/technical-consultation-opportunity-for-improvement/#post-16278024 <![CDATA[Technical consultation + Opportunity for improvement]]> https://wordpress.org/support/topic/technical-consultation-opportunity-for-improvement/#post-16278024 Sat, 10 Dec 2022 23:12:45 +0000 atutrabajo Dear
I come to you as (almost) always because BEFORE I searched and/or tried “everything”.
The issue is more or less the following:
I’m redesigning my site and in the process I’ve made/I’m making/will be making SEVERAL changes.
Some time ago I noticed that while I was editing one of my pages (on the site I’m redesigning) my site started having problems like…
…”Error establishing a database connection”…
I made the corresponding claim to my hosting, and they told me that…
…”Dear Customer:
In order to avoid resource shortages and performance degradation problems of the server where your shared account is hosted, we have implemented a default limit of the MySQL variable: max_user_connections for all of our shared hosting packages. If you reach this limit, your website will most likely return an error message similar to this:
…”Warning: mysql_connect(): User xxxxxxxx already has more than ‘max_user_connections’ active connections to /home/xxxxx/public_html/ xxxxxxxx.php on line X”…
…”In general, if you are hitting the default max_user_connections limit that we have set, we recommend that you look into further optimizing your application code to reduce slow queries, which are one of the main reasons you may hit this limit, or investigate any potential issues with high traffic or abuse related issues, such as attacks on websites or apps hosted on your account”…

Something quite “strange” because, the site in question (stage9.atutrabajo.org), is mounted on a subdomain (stage9), with the aim that, on my original site (atutrabajo.org), my (few) visits, DO NOT see the changes I am making until I finish doing ALL the redesign of it.
Ergo, my site to redesign (stage9.atutrabajo.org) has NO visits, ha!
In any case, and after “fighting” with them for a while and they gave me other more or less similar “diagnoses”, they ended up saying something like that…
…” Each cPanel plan has its own resources/limits, which is why there are different levels.
If you want to be able to change that maximum mysql connection limit, you should consider upgrading your plan to VPS/Cloud”…
Something that, of course, is NOT going to happen, heh.

In any case, and before “throwing everything to the m….” (and switch to another hosting), I began to investigate on my own, what things I could do, to improve my installation and thus, reduce this from the … “max_user_connections” …
Above all, taking into account what they (my hosting) told me about…
…”(should) Increase max_user_connections to run more than 5 mysql connections simultaneously”…
Really? Yes. Seriously, heh.
Anyway.

That being said, I’ve made a significant number of modifications so far, such as:
– Add indexes to the most important tables (options, usermeta, etc.)
– Clean, Delete, Optimize tables
– Disable persistent connections on the server through…
Using mysql.allow_persistent=Off in php.ini
Etc.

And here comes what gives the title to this ticket. That is to say the…
Technical question + Opportunity for improvement
One of the many “recommendations” that I read was that of…
…”implement an object caching system… (to) directly return results without executing SQL queries again”…
Ergo. Since I do NOT have access to either Redis or Memcached, I used this tutorial; https://docs.hostsuar.com/aplicaciones/wordpress/que-es-cache-objetos-object-cache-configuracion-uso-wordpress
With which, in addition to contributing to this “reducing simultaneous queries to MySQL”, I would be “complying” with what I read in my Administration Panel/Tools/Site Health/Recommended Best, in terms of…
…”You should use a persistent object cache (because)…
A persistent object cache makes your site’s database more efficient, which results in faster load times because WordPress can retrieve your site’s content and settings much faster.
Your hosting provider can tell you if persistent object caching can be enabled on your site”…
Since, as I said, my “hosting provider” does NOT offer me Redis or Memcached (at least in the basic service that I have contracted), I proceeded (as the aforementioned tutorial indicates), to install an object cache with one of the most used caching mechanisms (besides Memcached and Redis), such as APCu.
And soooo! It worked.
And what is the problem? Okay. That, as soon as I finish installing said cache… My function.php STOPS WORKING! 🙁

And beware, I just realized that the problem happened to me when (temporarily) they had allowed me to have Redis and Memcached (which I NO longer have).
In other words, the problem is NOT the caching mechanism used, but that, for some reason, function.php and object caching are NOT compatible!

Conclusion:
Could you tell me how I can have an object cache and, at the same time, my function.php is NOT misconfigured?
To be more precise, when I turn on the object cache, and do ANYTHING in my function.php, I get the message of…
…”Scratch key verification failed. Please try again”… (Or something like that, heh:).

I await your comments.
From already thank you very much.
Greetings.

]]>
https://wordpress.org/support/topic/footer-stick-to-the-bottom-of-the-page/#post-16277936 <![CDATA[Footer stick to the bottom of the page]]> https://wordpress.org/support/topic/footer-stick-to-the-bottom-of-the-page/#post-16277936 Sat, 10 Dec 2022 21:24:08 +0000 ashleyjpurdy Does anyone know how to make my footer stick to the bottom of the page? Whenever, I minimize the screen, the footer raises. It’s also raised on one of my other pages (http://ashleyjpurdytravels.com/elements/videos/), and I’d like it to be at the bottom.

]]>
https://wordpress.org/support/topic/menu-movil-wordpress/#post-16277825 <![CDATA[Reply To: MENÚ MOVIL WORDPRESS]]> https://wordpress.org/support/topic/menu-movil-wordpress/#post-16277825 Sat, 10 Dec 2022 20:01:21 +0000 t-p You are welcome 🙂

]]>
https://wordpress.org/support/topic/menu-movil-wordpress/#post-16277813 <![CDATA[Reply To: MENÚ MOVIL WORDPRESS]]> https://wordpress.org/support/topic/menu-movil-wordpress/#post-16277813 Sat, 10 Dec 2022 19:51:16 +0000 1micoruna ok gracias

]]>
https://wordpress.org/support/topic/creating-default-object-from-empty-value-21/#post-16277694 <![CDATA[Reply To: Creating default object from empty value]]> https://wordpress.org/support/topic/creating-default-object-from-empty-value-21/#post-16277694 Sat, 10 Dec 2022 18:19:55 +0000 Steven Stern (sterndata) Yes, but it’s part of your theme. Maybe you can update it separately? https://redux.io/contact/

]]>
https://wordpress.org/support/topic/function-wp_scriptslocalize-was-called-incorrectly/#post-16277678 <![CDATA[Reply To: Function WP_Scripts::localize was called incorrectly]]> https://wordpress.org/support/topic/function-wp_scriptslocalize-was-called-incorrectly/#post-16277678 Sat, 10 Dec 2022 18:08:48 +0000 t5mlfgk116pmoq Hi Swayam,

Thank you for your answer.

It would be useful to precisely identify the nature of this problem, why it occurs, what consequences it leads to and how to solve it at the root/base avoiding (or trying to avoid) its recurrence. At the moment I can’t change the theme and I can’t deactivate the plugins. In light of the above, what information exactly do you have regarding this error?

Thank you for your support.
Best Regards

]]>