madflute
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Views Counter] Backup failure at wp_post_viewsHi, thank you for your response.
This table is causing 1) the site to stop loading with a critical error, and 2) JetPack backup to fail. If I remove number_format( pvc_get_post_views( get_the_ID() ) ); from all the places I used, the site loads. If I ask the host to repair this table, it seems the loading issue gets fixed (but the problem returns in a day or two).
According to JetPack support, wp_post_views has around 3.5 million rows, which suggests something is wrong. Any feedback would be appreciated.
- This reply was modified 9 months, 3 weeks ago by madflute.
Forum: Plugins
In reply to: [Media Library File Size] Index failedHi @ss88_uk
My guess is that the connection drop was caused by clicking the sort before the [Index Media] button is rendered since the error does not occur if the user waits for the button to be rendered. The sorting is still finished even after the error.
Anyway, this is not critical. I already notified users to ignore the error, or wait for the button to appear π
Forum: Plugins
In reply to: [Media Library File Size] Index failedHi @ss88_uk
Hope this video helps! Download β
Forum: Plugins
In reply to: [Media Library File Size] Index failedHi @ss88_uk
Hope this helps! Download Video β
Forum: Plugins
In reply to: [Media Library File Size] Index failedThank you so much! It has been working great, making our life much easier!
Here is a potential bug report. When you first sort, it ascends, while most use cases are descending, so the large files will be listed first. We often need to click the sort twice. If the second click is before the [Index Media] button is rendered, you will get the red “Network Error” message at the bottom right. This scared some of our contributors a bit π
Forum: Plugins
In reply to: [Media Library File Size] Index failedSubmitted. Thank you!
By the way, login page link is at the right bottom of the website, just in case.
- This reply was modified 1 year, 3 months ago by madflute.
Forum: Plugins
In reply to: [Media Library File Size] Index failedHi @ss88_uk
Thank you for your response. I can give you an admin access but it’s in Japanese, and not sure you can deal with it. Meanwhile, here is HAR file. The error is 500. Hope you can find the solution. I am not a DEV, and don’t know how to debug.
{
"log": {
"version": "1.2",
"creator": {
"name": "WebInspector",
"version": "537.36"
},
"pages": [
{
"startedDateTime": "2025-03-06T15:00:20.468Z",
"id": "page_3",
"title": "https://jazztokyo.org/wp-admin/upload.php",
"pageTimings": {
"onContentLoad": 2996.9399999827147,
"onLoad": 4509.04500001343
}
}
],
"entries": [
{
"_connectionId": "1957591",
"_initiator": {
"type": "script",
"stack": {
"callFrames": [
{
"functionName": "",
"scriptId": "882",
"url": "https://jazztokyo.org/wp-content/plugins/media-library-file-size/assets/js/media.js?ver=1.6.4",
"lineNumber": 126,
"columnNumber": 4
}
]
}
},
"_priority": "High",
"_resourceType": "fetch",
"cache": {},
"connection": "443",
"pageref": "page_3",
"request": {
"method": "POST",
"url": "https://jazztokyo.org/wp-admin/admin-ajax.php",
"httpVersion": "http/2.0",
"headers": [
{
"name": ":authority",
"value": "jazztokyo.org"
},
{
"name": ":method",
"value": "POST"
},
{
"name": ":path",
"value": "/wp-admin/admin-ajax.php"
},
{
"name": ":scheme",
"value": "https"
},
{
"name": "accept",
"value": "*/*"
},
{
"name": "accept-encoding",
"value": "gzip, deflate, br, zstd"
},
{
"name": "accept-language",
"value": "ja-JP,ja;q=0.9"
},
{
"name": "content-length",
"value": "35"
},
{
"name": "content-type",
"value": "application/x-www-form-urlencoded"
},
{
"name": "dnt",
"value": "1"
},
{
"name": "origin",
"value": "https://jazztokyo.org"
},
{
"name": "priority",
"value": "u=1, i"
},
{
"name": "referer",
"value": "https://jazztokyo.org/wp-admin/upload.php"
},
{
"name": "sec-ch-ua",
"value": "\"Not(A:Brand\";v=\"99\", \"Google Chrome\";v=\"133\", \"Chromium\";v=\"133\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "sec-ch-ua-platform",
"value": "\"macOS\""
},
{
"name": "sec-fetch-dest",
"value": "empty"
},
{
"name": "sec-fetch-mode",
"value": "cors"
},
{
"name": "sec-fetch-site",
"value": "same-origin"
},
{
"name": "user-agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 35,
"postData": {
"mimeType": "application/x-www-form-urlencoded",
"text": "action=SS88MLFS_index&reindex=false",
"params": [
{
"name": "action",
"value": "SS88MLFS_index"
},
{
"name": "reindex",
"value": "false"
}
]
}
},
"response": {
"status": 500,
"statusText": "",
"httpVersion": "http/2.0",
"headers": [
{
"name": "access-control-allow-credentials",
"value": "true"
},
{
"name": "access-control-allow-origin",
"value": "https://jazztokyo.org"
},
{
"name": "cache-control",
"value": "no-cache, must-revalidate, max-age=0, no-store, private"
},
{
"name": "content-encoding",
"value": "gzip"
},
{
"name": "content-length",
"value": "234"
},
{
"name": "content-type",
"value": "text/html; charset=UTF-8"
},
{
"name": "date",
"value": "Thu, 06 Mar 2025 15:00:33 GMT"
},
{
"name": "expires",
"value": "Wed, 11 Jan 1984 05:00:00 GMT"
},
{
"name": "referrer-policy",
"value": "strict-origin-when-cross-origin"
},
{
"name": "server",
"value": "Apache"
},
{
"name": "vary",
"value": "Accept-Encoding"
},
{
"name": "x-content-type-options",
"value": "nosniff"
},
{
"name": "x-frame-options",
"value": "SAMEORIGIN"
},
{
"name": "x-robots-tag",
"value": "noindex"
}
],
"cookies": [],
"content": {
"size": 244,
"mimeType": "text/html"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": -1,
"_transferSize": 295,
"_error": null,
"_fetchedViaServiceWorker": false
},
"serverIPAddress": "198.38.76.14",
"startedDateTime": "2025-03-06T15:00:33.026Z",
"time": 3956.486999988556,
"timings": {
"blocked": 0.8549999550618231,
"dns": -1,
"ssl": -1,
"connect": -1,
"send": 0.611,
"wait": 3954.4729999934957,
"receive": 0.5480000399984419,
"_blocked_queueing": 0.5979999550618231,
"_workerStart": -1,
"_workerReady": -1,
"_workerFetchStart": -1,
"_workerRespondWithSettled": -1
}
}
]
}
}Forum: Plugins
In reply to: [WP Super Cache] Cache size increaseHi @alinclamba
Does the compression option actually add .gz file next to the actual file? I was surprised the disk usage went up, only to realize there are .gz files I previously did not see. Is this the expected behavior? The host server space is 80+% full and we don’t have options to get more space. This is why I have been trying to reduce the cache size as much as possible.
Forum: Plugins
In reply to: [WP Super Cache] Cache size increaseThank you for your response @donncha
I just turned the compression on, and 304 browser caching while I was there. Hope this will make some differences. Will report back. Thank you again!
Forum: Plugins
In reply to: [WP Super Cache] Cache size increaseHi @lastsplash
As soon as I thought everything is working OK, the cache size jumped up to 6GB and choked the server. I really don’t understand what is going on π¦
Forum: Plugins
In reply to: [WP Super Cache] Cache size increaseThank you for checking. We are OK now. I am not sure why the garbage collector and its notification stopped working, but forcing wp_cache_gc to run seems to be working. Also, why the very dated section no one accesses is caching huge is still a mystery, but excluding that section did help. This whole thing is very mysterious, especially since it has worked for many years.
Hi @rohitkc32
Thank you so much for your help! I am still unable to make this happen. I first located
template-tags.phpandentry-summary.phpfiles in the colormag subdirectories (it took me a while π ), then copied them to my custom child theme. My child theme directory has no subdirectory, so they are at the root level of the child theme. Is this correct, or I need subdirectories as colormag dir has?I then followed your instructions and inserted one line:
<div class="cm-entry-summary">
<?php
the_content();
if ( is_page() ) {
?>
<a class="cm-entry-button" title="<?php the_title_attribute(); ?>"
href="<?php the_permalink(); ?>">
<span><?php echo esc_html__( 'Read More', 'colormag' ); ?></span>
</a>
<?php
}
colormag_tags_meta_markup();
wp_link_pages(
array(
'before' => '<div style="clear: both;"></div><div class="pagination clearfix">' . esc_html__( 'Pages:', 'colormag' ),
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
)
);
?>
</div>Clearing caches and private browsers, no change on the TAG block location within each article. Do you know what I am doing wrong?
Just to recap, on a page like this, the tag block should be at the bottom so the reader can click them after they read the article π
https://jazztokyo.org/column/analyze/r-i-p-sergio-mendes-mas-que-nada/Thank you @rohitkc32
The category description worked great. On the other hand, there doesn’t seem to be
cm-entry-summaryin the single.php file…?Hi,
Thank you for your response. On this page,
https://jazztokyo.org/r-i-p-index/
The first image, the “R.I.P. / θΏ½ζΌ” is the category image, and it has the category description, which need to be displayed right underneath of this image.
As to the tags, the meta needs to stay at the top. Can I move tags only by custom template? Thank you for your help!
Forum: Plugins
In reply to: [WP Super Cache] Cache size increaseThank you @donncha
The exact subcategory URL is
https://jazztokyo.org/category/reviews/kimio-oikawa-reviews/
So, the string should be this? β
/reviews/kimio-oikawa-reviews/