Forum Replies Created

Viewing 15 replies - 16 through 30 (of 169 total)
  • Forum: Fixing WordPress
    In reply to: 19K files normal?
    Thread Starter ketanco

    (@ketanco)

    I had checked the original wp file count which is close to 3k.

    I now checked the plugins folder and there are 2 K there. so then all add up…

    but regardless, if I were to manually search for malicious files where would they be and for what?

    hacks were years ago. wordfence is also already installed since several years. and it says site is good.

    i still have some bad stuff in my database though i know it. but my site works fine. can that spam code in my database be doing something without me knowing? can it be something wordfence is not seeing?

    Forum: Fixing WordPress
    In reply to: 19K files normal?
    Thread Starter ketanco

    (@ketanco)

    I checked the folder you mentioned and yes you are right 14K files are just from that folder…. and yes wordpress created a lot of different size photos for the photos i uploaded. why so much different sizes? can I get rid of most of them?

    and the remaining 5K files seems normal number right?

    Thread Starter ketanco

    (@ketanco)

    How do you save your post there? I followed the link you sent and when i scroll down i see a save page button. So i enter my posts link and hit save page button and that’s it ?

    is there a fee or subscription or anything else i might want to know about it ?

    Thread Starter ketanco

    (@ketanco)

    The reason I ask is I got email from these cookie.eu guys saying one my the sites I am working on does not comply with gdpr cookie consent thing. Are they official? are we obliged to use their code?

    Thread Starter ketanco

    (@ketanco)

    I do not even see this screen. When I click editor on my dashboard, this is what I see. … well how can I add my screenshot here? I cannot even see that. It says add picture from url. Well my screenshot happens to be in my computer i did not make a website url for my screenshot. this editor is extremely counterintuitive

    Thread Starter ketanco

    (@ketanco)

    honestly i dont want to install anything now until the next wordpress update, as i do not want problem again. may be when the next package comes this will disappear?

    Thread Starter ketanco

    (@ketanco)

    I did what you told me and uploaded wp-includes and the site started working. Then I tried to login to admin cp and that still didn’t show up so this time I uploaded wp-admin folder and now that works too. Thanks very much !

    Now in the admin cp it says : “An automated WordPress update has failed to complete – please attempt the update again now.” I should just ignore this message and this will disappear by itself later correct?

    Also just for my learning… this means during a wordpress update nothing is done to database correct? Because we did not do anything to database in this exercise….

    Thread Starter ketanco

    (@ketanco)

    Error messages are similar to before and ALL of them contain line 237. I paste one of them out of hundreds… See below

    [01-Jun-2023 01:52:30 UTC] PHP Fatal error: require(): Failed opening required ‘/home/xxxxxxxxxxxx/public_html/xxxxxxxxxxxx .com/wp-includes/html-api/class-wp-html-attribute-token.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/xxxxxxxxxxxx/public_html/xxxxxxxxxxxx .com/wp-settings.php on line 237

    [01-Jun-2023 01:52:30 UTC] PHP Notice: Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href=”https://wordpress.org/support/article/debugging-in-wordpress/”>Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/xxxxxxxxxxxx/public_html/xxxxxxxxxxxx .com/wp-includes/functions.php on line 5835

    so this line 237 , i open wp-settings.php right under main folder, and look at line 237 and see something like

    require ABSPATH . WPINC . ‘/html-api/class-wp-html-attribute-token.php’;

    so what should I do now?

    Thread Starter ketanco

    (@ketanco)

    Okay I checked the version in the public html folder (in other words my hosting) and checked the version.php file. and it still says 6.1.3. Regardless I uploaded the html-api folder and all its contents. And this time, instead of the 4 lines as I pasted above, the error log had hundreds of errors, Then I removed the html-api folder and refreshed the site but altghough the debug log was supposed to return to what I pasted above, it continues having hundreds of errors

    Thread Starter ketanco

    (@ketanco)

    No I did not download the wrong package. I checked the wp version of my site from its backup, the version before I tried to upgrade to latest version. It was 6.1.3. And in 6.1.3 no such file., Or by saying “your wp version” you meant the version I am trying to upgrade to? Well obviously that would be the latest version. That confused me

    Thread Starter ketanco

    (@ketanco)

    I went ahead and downloaded my sites wp version locally but even from the default version of my release (6.1.3) I do not see such directory and file

    require(/home/xxxxxxxxx/public_html/xxxxxxxxx.com/wp-includes/html-api/class-wp-html-attribute-token.php

    Thread Starter ketanco

    (@ketanco)

    Hi Ahammad,

    Below see what was generated on screen when I just turned wp debug to true (I also did what you said later and it produced debug file which is the same as below). Note, I deleted my host and site name with xxxxxx below

    Can you tell me what must I do now? Please assume I know very little about wordpress coding, when answering. Thanks a lot

    Warning: require(/home/xxxxxxxxx/public_html/xxxxxxxxx.com/wp-includes/html-api/class-wp-html-attribute-token.php): failed to open stream: No such file or directory in /home/xxxxxxxxxx/public_html/xxxxxxxxxx.com/wp-settings.php on line 237

    Fatal error: require(): Failed opening required ‘/home/xxxxxxxxxx/public_html/xxxxxxxxxx .com/wp-includes/html-api/class-wp-html-attribute-token.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/xxxxxxxxxx/public_html/xxxxxxxxxx .com/wp-settings.php on line 237

    Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/xxxxxxxxxx/public_html/xxxxxxxxxx.com/wp-includes/functions.php on line 5835

    Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/xxxxxxxxxx/public_html/xxxxxxxxxx.com/wp-includes/functions.php on line 5835

    There has been a critical error on this website

    Thread Starter ketanco

    (@ketanco)

    adding zero padding to top is not what I want. that only moves up the menu. menu must stay. only the logo must move up. in that useless white space there is this field for the page title i had deleted. i cannot get rid of that empty field. if i did that would also reduce the white are and solve the problem. i guess i must do it by adding code. where and what?

    Thread Starter ketanco

    (@ketanco)

    Yes I thought the same and did that immediately but there is no way to do what I described . Thanks for the generic response but this doesn’t solve anything. Or tell me how specifically I will do it after selecting edit.

    Thread Starter ketanco

    (@ketanco)

    i said nothing about moving menu to the bottom

    all I want is to reduce the un-used white area between the logo and the menu above. in other words, as i said, reduce the vertical distance between top of logo and bottom of the menu. so the menu stays as it is. just the logo moves up a little. that is all. so that the useless white area above the logo is smaller.

Viewing 15 replies - 16 through 30 (of 169 total)