HUGE error for MY Site when Upgrading to 6.3
-
Dear friends: Good evening.
1) This is how the text looks like in my editor in a Firefox browser (*)
https://ibb.co/KFCf2tF
(*) I zoomed out to 67% to fit as much as possible.
2) And so in a Chrome browser (*)
https://ibb.co/ZNRzgbR
Conclusion:
It is NOT a browser problem.
3) And what is the problem? Simple. That really really…
The text SHOULD look like this!;
https://ibb.co/F75VFkm
Where is the difference? Well. Turns out…
Since I STARTED writing (MORE than 3 years ago!) I noticed that WordPress does NOT support line breaks like the ones I want (*)
(*) Yeah. EXACTLY what you see in the 3rd. screenshot.
And what’s happening?…
Well it happens that, when I add a line break, everything is fine. But…
When I add 2 (how I WANT IT TO BE) to the 2nd. (when I save the work), WordPress. DELETES IT AUTOMATICALLY.
In summary:
Since I noticed this problem on your platform, I HAD to add the following html code, like this…
<p style=”padding-top: 18px;”> </p>
And what happened? Easy. As soon as I finished updating WordPress to the latest version (6.3)
Said code GONE! And consequently, ALL my pages/posts look like I just showed you in screenshots 1) and 2). (*)
(*) That is, WITHOUT the 2nd. Line break that I created on PURPOSE!
Definitely:
I’m going back to the previous version (6.2.2) until they send me a solution.
This, as you know, will bring with it a series of security problems and, in addition, potential claims for my hosting. But hey…
Obviously what I am NOT going to do is rewrite my ENTIRE site again.
So, please, could you inform me WHEN you could offer me a solution.
I await your comments.
From already thank you very much.
Greetings.- This topic was modified 1 year, 3 months ago by Steven Stern (sterndata). Reason: formatting
The page I need help with: [log in to see the link]
-
Hi, there is an extra block for making spaces between blocks, it is called “spacer”
Hello! Benni First of all, thank you for your intervention.
That being said… Your “solution” is NOT working for me!
I will explain (in case my presentation of the problem was not understood):
- I ALREADY have the mentioned “line break” code implemented in the ENTIRE site because, as I mentioned, WordPress AUTOMATICALLY eliminated all “double line breaks” (it only left me one).
- These are texts like the one I used as an example that (as in the case used as an example) contain a LOT of text (The one in the example – the one I’m currently working on – that’s why I noticed) is; stage9.atutrabajo.org/entrevista-de-trabajo and currently contains 40240 words! And, when I’m done (according to the calculations made by my draft in Word), I can get to 70k.
In addition to that, for example, I ALREADY have another page with +43 thousand words (buscar-trabajo.org) and so on.
Finally…
- I CAN’T (and don’t want to) use ANY “available” blocks as they ALL add WEIGHT to the load of my pages in the editor (That’s why I prefer and am inserting ALL the “extra” code “manually”).
Conclusion:
Your “solution” is NOT applicable on my site.
Unless you give me the html code corresponding to the block in question and tell me how I can replace ALL my extra line break codes (<p style=”padding-top: 18px;”> </p>) with the code in question (insert) that you are commenting on.
I await your comments.
From already thank you very much.
Greetings.
Hi,
I have not read your entire angry post but I did understand that you want to automatically replace everything:
please go into one of these posts and click on the html element where you had the extra spacings added, then click on the three dots on the right, click copy block, and then paste the contents of the block into a “Code Block” in this forum topic via control + v just like this for example:
<!-- wp:paragraph --><p>asdad</p><!-- /wp:paragraph -->
Then we can figure out a solution.
- This reply was modified 1 year, 3 months ago by !Benni.
Hello again).
As for the code I’m using, this is a snippet of the html from the page I used as an example at the beginning of the claim;
https://docs.google.com/document/d/1aS5ln34q7KHzBEF1AyJQpw2j4d2jZ_3z/edit?usp=sharing&ouid=102851233358919075037&rtpof=true&sd=true
As you can see (highlighted in yellow) are the custom line breaks.
And this other one is the line break (or insert) that – I imagine – you are suggesting;
https://docs.google.com/document/d/1x5h5cKrQknPpAH21mV3UBXxJ1fhe_Nzw/edit?usp=sharing&ouid=102851233358919075037&rtpof=true&sd=true
Grades:
– I used a piece of 1-entry html that I have NOT (yet) started to work on so that when loading the block in question (insert), it doesn’t turn out to be so heavy (as I mentioned earlier) (*)
(*) But that (anyway) I want it to be THE SAME as ALL the pages and posts that I ALREADY have written.
– The pieces of code that I am currently using are highlighted in yellow and the one in the block that you suggested is in green.
– Since it would NOT let me insert where I want, I had to insert it/go to edit code/cut and paste it where I wanted.
And what happened? As this (*);
https://ibb.co/HCMjBZ2
(*) In case you don’t understand the screenshot, in Spanish it says…
…”This block contains unexpected or invalid content”…
And on the blue button it says…
…”Block recovery attempt”…
But, when you click on it, you get this…
https://ibb.co/sKrFkGq
That is, NOTHING itself.
So as you can see, even in this sense, it doesn’t seem like a viable solution.
Conclusion:
In my opinion, they should be able to let US (the users) use the code we see fit and NOT intervene in each update to remove custom codes.
But apart from this, I ask you, now what do we do?
Because (as I said above), assuming I listen to you (replacing my code with the “Insert” block), the only thing I can think of is to find a PRACTICAL (ie GLOBAL for the ENTIRE site) way to replace ALL of this code. ..
</p><p style=”padding-top: 18px;”>
For these others…
<!– wp:spacer –>
<div style=”height:18px” aria-hidden=”true” class=”wp-block-spacer”></div>
<!– /wp:spacer –>
And that, as long as – after doing it – I don’t end up getting the error mentioned in the previous screenshot, heh.
I await your comments.
Greetings.
PS: Another thing I DON’T understand is why, every time I insert a line break (separated from the text), WordPress ends up doing this…
<p style=”padding-top: 18px;”>
</p><p>Sed fermentum, just quis ultrices cursus, quam nunc vulputate purus, quis consequat quam risus id sem. integer
Anyway.
I’m telling you this because, if you see the html code, when I go into the code editor, and I paste my custom line breaks, it looks like this;
<p style=”padding-top: 18px;”></p>
But when I save the changes, it ends up “pasting” to the next line (as I showed above).
What do I know? But if it’s useful for you, keep it in mind.
Greetings.- This reply was modified 1 year, 3 months ago by Steven Stern (sterndata). Reason: format
Another yes, I say.
Dear, I just realized the following…
If we were to replace this…
<p style=”padding-top: 18px;”> </p>
For this other…
<!– wp:spacer –>
<div style=”height:18px” aria-hidden=”true” class=”wp-block-spacer”></div>
<!– /wp:spacer –>
I would be adding hundreds (or thousands) of divs to my site! (*)
(*) Which (as you know) would add a lot of useless weight and hurt performance and worse, the user experience for my readers.
Conclusion:
The SOLUTION should be SIMPLY that WordPress “accepts” my custom codes (and those of many others that I see who are complaining about similar things).
I await your comments.
Greetings.- This reply was modified 1 year, 3 months ago by Steven Stern (sterndata). Reason: format
If you are inserting empty <p> elements in your code, just to create spacing… have you considered styling these empty paragraphs with a line of CSS? Should do the job. Would be both more effective, and safe, than going about search and replacing what sounds like a lot of content.
Dear: It seems to me that we are NOT understanding each other, heh.
Regarding…
…”If you are inserting empty elements into your code, just to create spaces…”…
The truth is that they are NOT “just spaces”. They are THE Spaces that I want them to have.
And if. It can be (or seem) crazy. But… I created this code because (exactly) WordPress did NOT do what it had to do so that, with just two enters, I could have the space that I wanted in MY content.
Besides…
It’s not like they’re “empty” either. I went to the trouble (which WordPress should have taken) to create some html code that I inserted (one by one) as I was creating ALL my content.
Finally and regarding…
…”Have you considered styling these empty paragraphs with one line of CSS? It should do the job. It would be more effective and safe than search and replace what seems like a lot of content”…
But also (and in case you didn’t understand)… I ALREADY have written 3 pillar pages (with more than 120 thousand words) + 9 sales pages + my main page with THAT structure! ()
Conclusion (I repeat)…
Isn’t it easier for WordPress to leave EVERYTHING (or at least this part) as it was BEFORE creating the latest version?
I await your comments.
From already thank you very much.
- This reply was modified 1 year, 3 months ago by Ipstenu (Mika Epstein). Reason: Formatting
Hi, thanks for posting the snippets of the post, I unfortunately am not able to work with that. Please follow these instructions:
Open a post in the editor, then copy the post id from the url (?post=37 in this example 37 is the post id)
Then go into your hosting control panel and open your database managementsystem (often phpmyadmin)
Go into the _posts table and search for your post id, then copy the post_content field again and post it here.
As of your concerns, yes this will add divs but that will certainly not impact on your pages performance, there is no problem with divs.
- This reply was modified 1 year, 3 months ago by !Benni.
Hello! Benni.
Again. Thank you for your intervention and dedication.
Having said that:
1) In relation to…
…”I can’t work with that”…
Frankly I DON’T know why, well, I followed your instructions and, at least for me, what I’m going to send you is EXACTLY the same as what I would have sent if I went to my content/entered to edit code and copied and pasted it. But hey. Since you insist, here it is (*);
https://docs.google.com/document/d/1EoK_3NvOu6LSetaj3SVZD-nTdYLk5FOD/edit?usp=sharing&ouid=102851233358919075037&rtpof=true&sd=true
(*) I imagine that, you will know how to understand that, for security reasons (and to avoid spammers, hackers and all that m….. that circulates on the internet), it was NOT convenient for me to copy and paste the text here, heh.
In addition to that, you will see within the text that some links are “disguised”.
Although (if you need it), you ask me for the originals and I’ll send them to you.
2) I am sending you the code of any entry (which is still in draft form) because, frankly, the one in the example is GIGANTIC, heh.
In fact, when I opened the post_content of said page, phpadmin warned me that…”Due to its length, this column may not be editable“…
3) Anyway, what you should know is that ALL my pages and posts have/will have the EXACT SAME structure.
Lastly, and as for what…
…”yes, this will add divs, but that certainly won’t affect the performance of your pages, there’s no problem with divs”…
Well. I’m not a web design genius (and I hate them, heh:). But…
Do you seriously think that something like what I’m showing you, will load as something that, every once in a while (textual) will have a div?
Anyway.
But anyway, what I say is NOT important.
But what the hundreds (or thousands, I don’t know anymore, heh:) of WPO specialists that I have been reading in the last 3/5 years say (I don’t remember anymore:).
For that reason, not. The option to replace a plain text like the one I have with something that contains a div every so often is NOT viable on my site!
Any other idea?- This reply was modified 1 year, 3 months ago by Steven Stern (sterndata). Reason: format
You do understand that everyone here is not getting paid anything we just want to help people that experience problems with their site and if you are not going to be polite here do you really think anyone is going to help you?
You can do a replace all with the plugin https://www.ads-software.com/plugins/better-search-replace/
Just replace your blocks with the spacer block:
replace:
<p style="padding-top: 18px;"></p>
with:
<!-- wp:spacer --> <div style="height:18px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer -->
Just a friendly reminder that we all benefit from maintaining a polite and respectful tone, let’s keep the conversation productive and focused on the topic at hand . If you don’t want to participate productively in this conversation, then please just close the topic and pay someone to do the work for you, since you obviously can’t handle it.
Yes you did follow my instructions, I wasn’t sure if that was really the content from the database because it seemed to have a different format than what I have on a test site. I did not tell you that you provided the false data just that I was not able to work with it, and asked you to provide the data directly from the database
And for your problem with the divs, you won’t replace your paragraph blocks with divs but you will replace your “spacer” paragraphs. P tags are really not the best option for spacing, the spacer block most certainly is
Dear !Benni. 1) To begin with and as for… …”Do you understand that everyone here is not paid anything, we just want to help people who are experiencing problems with their site and if you are not going to be courteous here, do you really think anyone will help you?”… The truth is, no. I thought you worked for WordPress. Ergo, I thought I was addressing a company. Having said that… If I offended you in any way, I apologize. But you must understand that, I do NOT speak or understand English, heh. In fact, I am from Argentina and I speak Spanish (not even Spanish). Ergo. I have NO idea what I'm writing, so what I do is simply put together a text like this (in Spanish), select it, copy and paste it into a translator (Google) and copy and paste it already translated, heh. So, it is likely that some words that I "said" may have been "shocking" to you. But frankly I DON'T know because, as I say, I DON'T speak OR understand English! ˉ\_(ツ)_/ˉ One way or another, again. If I offended you, I apologize. 2) Regarding… …”Just a friendly reminder that we all benefit from maintaining a courteous and respectful tone, let's keep the conversation productive and focused on the topic at hand. If you don't want to productively engage in this conversation, just close the topic and pay someone to do the work for you, as you obviously can't handle it”… As we say around here… “I return the favor”… How do you know if I CAN pay (or not)? I… Why can't he handle "obviously"? Definitely… Why do you judge me without knowing me? For your knowledge... I've been doing this for more than 3 years and, despite the fact that I "don't handle it", I have a site with more than 120 thousand words that - until the last WordPress update - was PERFECT. 3) In relation to… …”Yes, it followed my instructions, I wasn't sure if that was actually the content of the database because it seemed to be in a different format than what I have on a test site. I didn't tell him that he provided the false data, just that I couldn't work with it, and asked him to provide the data directly from the database”… I NEVER said (or meant to say, heh!) ANYTHING “false facts”. What I said is that (textual)… …”at least for me, what I am going to send you is EXACTLY the same thing that I would have sent if I went to my content/entered to edit code/copy and paste it”… Although surely, in the translation something of what I wanted to say was "lost/confused". \_(-_-)_/ 4) Regarding… …”And for your problem with divs, it won't replace your paragraph blocks with divs but it will replace your "spacer" paragraphs. P tags really aren't the best choice for spacing, the spacer block certainly is”… Allow me to disagree (I hope the translation is understood so as not to offend anyone, heh). To start (and just in case - again because of the translator - let's get confused): The code that you are sending me Is this?... <!-- wp:spacer --> <div style="height:18px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> And (if so) does that code not have a div in the middle? Finally (in relation to this particular point)… It's true. I am NOT a designer and I do NOT understand this, but it is common sense that… Something that says... <p style="padding-top: 18px;"></p> It is much SIMPLE to interpret (by any browser) than… If I said... <!-- wp:spacer --> <div style="height:18px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> Don't you think? Oh. And one more thing about... …”Too bad I hate web designers because you would really need one for your site”… When I said earlier that... …"Well. I'm not a web design genius (and I hate them, hehe :)”… If it is understood that it was a joke/joke/joke or whatever you want to call it, right?ツ Now I will tell you what I would do (If it were WordPress, of courseJ) The processes are just that. And both in computer science and in ANY other sector, they follow a kind of "pattern". In this (as in any) case, it would be something more or less like this… a) The diagnosis: Until version 6.2.2 I was able to write ALL my texts (+120 thousand words) without PROBLEMS (Neither with the code in question nor with any). When I upgraded to 6.3 I started having the problems that gave rise to this. Ergo. The problem is in this latest version. Spot. What do I believe? That they included an instruction (or whatever web designers call it) that says something like that… …”When you find a code you don't understand, just delete it”… (Or something like that (≧︿≦)). b) The origin of the problem While writing (as in this case, but in Word), usually, when I want to separate 2(two) ideas (or paragraphs), I do it by using 2(two) lines of space. But WordPress, I don't know why, "converted" the 2nd. Line spacing, in something like that; <p></p> And when I saved the text and went to view it in the front-end, the spacing in question would "disappear". Ergo. I had to "invent" a way to turn that (<p></p>) into something that WordPress would NOT delete from the front-end of my site (That is, what I wanted my readers to see). That's why, I "invented" something like this... <p style="padding-top: 18px;"></p> c) The possible solution Wordpress would have to invent something (whatever) that makes it so that, when someone does 2(two) line breaks, instead of "converting" it to <p></p> it converts it to (for example)... <p>whatever-code-represents-a-space-equal-to-the-previous-line</p> Then I, knowing the blessed code in question, so yes, I would install the recommended plugin (Better Search Replace) and replace the <p style="padding-top: 18px;"></p> by the <p>el-code -whatever-represents-a-space-equal-to-the-previous-line</p> Finally, I would update WordPress to 6.3 and, I would hope that, in the next version (6.3.1) I would NO longer have to be replacing ANYTHING because (I hope), WordPress contemplates and adds in its coding that, every time someone does a double enter (2 lines in a row), in the 2nd. Line is AUTOMATICALLY added, a space the same height as the previous line. I hope this time you understand what I'm trying to say. I await your comments. From already thank you very much. Greetings.
Hi,
okay then the translation process was the cause for the misunderstanding.
Yes <p> Tags are much better to interpret for browsers IF you have actual paragraphs (text) in those tags, the way how you do it is misleading for the browser since you have empty paragraphs. Using <p> tags (paragraph) for spacers does not make sense to the browser, <div> tags are way better for spacing than <p> tags!!
As I said, you can now replace all your <p> tags with the spacers and everything is fine, it is that easy! No more further discussion needed, <div> tags are better in this case than <p> tags <p> tags are only for text! That easy.
Okay. Let's see if I understand (and thus we avoid some "new" misunderstandings, heh): 1) Can you ASSURE ME that… If I replace ALL my line breaks, <p style="padding-top: 18px;"> </p> For your recommended "tags", <!-- wp:spacer --> <div style="height:18px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> Will my site run the same or better than this?... https://ibb.co/kxw0Wpf And that (in this post) I have +100 of these <p style="padding-top: 18px;"> </p>, heh. On the other hand, the same report says that… https://ibb.co/JxGx9CG In other words, THERE ARE +1600 DOM elements already! And guess what. Exactly, they are ALL div!, heh. So, I ask you again... Seriously if I add other divs I won't hurt the performance? 2) On the other hand, what does the aria-hidden="true" of the tag you mention mean? I ask because, if this refers to the font, I am using the following… Opens Sans 400 - sans-serif - Normal - 400 - 18px - 28px - Color: #333333 (*) Won't I "confuse" browsers? (As it happened when I started, heh) (**) (*) In case you don't understand: 18px is the height and 28px is the line spacing (**) So I created a standard font template for the ENTIRE site and… Since then, I only modify a few things (subtitles, subchapters, etc.). Finally… 3) As I understand it, do you suggest the following?... a) Make a backup of the ENTIRE site b) Modify <p> by tags c) Upgrade to WordPress 6.3 And, in this way (in your opinion), everything… Would it be the same (or better) than before? I await your comments. Thanks, again. Greetings. PS: And one last question. If you look at the source code of EACH page or entry (for example, the one I showed you in the Pagespeed results, which is: stage9.atutrabajo.org/psicotecnico-laboral/como-pasar-psicotecnico-laboral/) you will see that EVERYTHING the code included there is compressed. To achieve that (and thus improve my performance), I used (and still use) the W3TC plugin. If I were to do what you suggest (replace the <p> with the <p> tags)... Would it be better BEFORE... Disable Compression/Override/Enable Compression Or is it indistinct?
- The topic ‘HUGE error for MY Site when Upgrading to 6.3’ is closed to new replies.