Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter vallor

    (@vallor)

    Thank you a lot, it worked.

    Thread Starter vallor

    (@vallor)

    Well, I hope I found the issue for you, so you can sort this out with virustotal.

    Thread Starter vallor

    (@vallor)

    I turned off all plugins (by renaming plugin folder), now awaiting if I ecnounter this issue again or it was plugin’s fault…

    Thread Starter vallor

    (@vallor)

    @cmspencer99

    Ok, in my theme there was a line
    add_filter(‘use_block_editor_for_post’, ‘__return_false’, 10);

    after commenting it, gutenberg returned, THANK YOU!

    • This reply was modified 6 years, 4 months ago by vallor.
    Thread Starter vallor

    (@vallor)

    Hello @cmspencer99
    Sadly I don’t have either lines. Here is full code of my /wp-includes/functions.php

    https://codeshare.io/G8wOKv

    Thread Starter vallor

    (@vallor)

    I still get memory leak sometimes… but now at least I assume to know that its caused most likely by some plugin, that needs to be turned off and probably uninstalled.

    Thread Starter vallor

    (@vallor)

    I think I found it, thanks

    • This reply was modified 6 years, 4 months ago by vallor.
    Thread Starter vallor

    (@vallor)

    I am not sure, as far as I know all plugins were officially bought, as I said main problem lied in old directories (I changed hosting, so all routes were broken).

    I think I finally fixed everything it has been 30hours since last crash…

    Btw, do you know a way to block ads on specific pages (adsense don’t want to be seen on a few of them) ?

    P.S. I have newspaper template from tagDiv

    Thread Starter vallor

    (@vallor)

    Ok, I celebrated too soon, it happened again, memory leak thingy,which means I didn’t fix everything, and I guess I will have to start disabling plugins again…

    Thread Starter vallor

    (@vallor)

    I think I resolved most of my issues (not all yet), problem was in Database as I suspected since the very beginning, some plugins had wrong path written in DB, and those plugins were everywhere on website (template & WPML), so I had to fix those first and then create new database.

    Now though I have a really weird problem with ads I cannot replace adsense ads of previous owner, because when I do, design breaks… because ads look kinda like this:
    <script type=”text/javascript”><!–
    google_ad_client = “pub-*”;
    google_ad_width = 250;
    google_ad_height = 250;
    google_ad_format = “250x250_as”;
    google_ad_type = “text_image”;
    //2007-05-30: N en.R+
    google_ad_channel = “*”;
    google_color_border = “000000”;
    google_color_bg = “000000”;
    google_color_link = “E1771E”;
    google_color_text = “FFFFFF”;
    google_color_url = “E1771E”;
    //–>
    </script>
    <script type=”text/javascript”
    src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”&gt;
    </script>

    Thread Starter vallor

    (@vallor)

    Disabling ALL plugins somewhat helped, the problem is, that deactivating and even deleting and then installing them anew doesn’t help, because they still use broken DataBase and cause memory leak which then crashes server but now due to WP_REPAIR it fixes tables and site goes back on, until next memory leak crashes it in 30-90min.

    Fully reinstalled Theme stopped causing it, but its broken now as fudge and I have no idea how to restore site’s appearance, WPML crashes site for sure, even after fully reinstalling it(which means there is a problem in database, not in files).

    I have access to my access.log but I don’t know what to look for here, there are 100-200mb of data every day.

    Thread Starter vallor

    (@vallor)

    Ok, now this is interesting, with debugging on, I see insane amount of errors like this

    [17-Jan-2020 16:58:27 UTC] PHP Warning:  mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/html/wp-includes/wp-db.php on line 1633
    [17-Jan-2020 16:58:27 UTC] PHP Warning:  mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/html/wp-includes/wp-db.php on line 1633
    [17-Jan-2020 16:58:27 UTC] PHP Warning:  mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/html/wp-includes/wp-db.php on line 1633
    [17-Jan-2020 16:58:27 UTC] PHP Warning:  mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/html/wp-includes/wp-db.php on line 1633
    [17-Jan-2020 16:58:27 UTC] PHP Notice:  wpdb was called <strong>incorrectly</strong>. wpdb must set a database connection for use with escaping. Please see <a href="https://ww.wp.xz.cn/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.6.0.) in /var/www/html/wp-includes/functions.php on line 4986
    [17-Jan-2020 16:58:27 UTC] PHP Notice:  wpdb was called <strong>incorrectly</strong>. wpdb must set a database connection for use with escaping. Please see <a href="https://ww.wp.xz.cn/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.6.0.) in /var/www/html/wp-includes/functions.php on line 4986

    I am not sure what and where this comes from though, as I have a pretty big databases (250mb & 450mb), so I can only assume some tables call for old addresses, but how do I find them and fix?

    Thread Starter vallor

    (@vallor)

    I also discovered another issue that may cause this problem with database, I don’t have enough memory, and maybe it crashes when memory rans out, I created swapfile for 2gb because 2GB RAM wasn’t enough, now I see that even 2gb RAM + 2gb Swap isn’t enough…
    Thats most likely an error or bug of some kind, this site can not eat so much memory.

    Thread Starter vallor

    (@vallor)

    @sukafia
    Thank you so much for trying to help me, I deactivated most of plugins already and it still keeps happening, right now I have only 13 active:
    Akismet Anti-Spam v4.1.3
    Contact Form 7 v5.1.6
    Contact Form 7 Captcha v0.0.3
    Contact Form 7 Multilingual v1.0.1
    Flamingo v.2.1
    tagDiv Cloud Library v1.3
    tagDiv Composer v2.4
    tagDiv Social Counter v4.6
    WP Limit Login Attempts v2.6.3
    WPML Multilingual CMS v4.3.6
    WPML String Translation v3.0.6
    Yoast SEO v12.8
    Yoast SEO Multilingual v1.0.3

    I turned on Debugging as you suggested too, where WP puts its log files tho?

    Thread Starter vallor

    (@vallor)

    @sukafia
    I fixed my forum at last, the last problem left is that some of my database tables get crashed and they crash the whole website, and I have no idea why it keeps hapepning over and over again.

    [ERROR] Got error 127 when reading table ‘./enwp_options’
    /enwp_options’ is marked as crashed and last (automatic?) repair failed

    I repaired this table at least 10 times in the last 4 days, it works fine for a few hours and BAM gets crashed again, or it can happen to others tables too… And I have no idea whats causing it or how to even begin looking for it.

    Please help me to at least pinpont the problem here.

Viewing 15 replies - 1 through 15 (of 17 total)