For the last three days I’ve had comments from followers and regular commenters showing up as ‘anonymous’, with a few exceptions. I thought maybe it was just a glitch in that one post, but it’s still happening on my newest post, as well. I’ve been able to go in and search the comment by their IP address and edit the comment to show the correct author for those who have commented before, but I’m hoping someone here can point me in the right direction.
Generally, anytime I have problems with comments it’s usually traced back to my security or firewall. I use WP Security.
Any help would be appreciated!
Dedra
]]>I’ve written myself a small plugin which takes a custom post type and uses an init hook action to select them and register them as block pattern using register_block_pattern and register_block_pattern_category.
This all works really well, BUT, it seems to cause a problem when you try and submit a comment. Basically, I’m getting a “Sorry, comments are closed for this item.” from wp-comments-post.php.
If I comment out the init hook call, comments work again.
I’m not really sure how to approach debugging this one!
This is the hook being called:
function grab_patterns_for_registration() {
$patterns = new WP_Query(
array(
'post_type' => 'patterns',
'post_status' => 'publish'
)
);
if ( $patterns->have_posts() ) {
while ( $patterns->have_posts() ) {
$patterns->the_post();
$pattern_name = 'patterns/' . get_post_field( 'post_name');
$content = get_the_content();
$title = get_the_title();
$postID = get_the_ID();
$category = get_post_meta(get_the_ID(),'pattern_category', true);
/* if no category is set, give it a default */
if (!$category) {
$category = 'Custom Patterns';
}
/* Add the category */
register_block_pattern_category(
$category,
array( 'label' => __( $category, 'addpatterns' ) )
);
/* Register the block category */
register_block_pattern($pattern_name, [
'title' => __($title, 'addpatterns'),
'categories' => [$category],
'content' => $content,
]);
}
}
/* Restore original Post Data */
wp_reset_postdata();
}
add_action('init', 'grab_patterns_for_registration');
]]>Also i tried using default theme of wordpress which is Twenty Seventeen
but getting same 404 error.
I’ve disabled all plugins and tried the comment form but still the same error shows up: Error! Action failed!
The site has plenty of disk space available and I don’t believe it’s having a memory problem. It has plenty of bandwidth available.
I’m at a loss what could be causing this error message.
Website is at https://www.middleagedmama.com.au/ Thank you in advance for your help.
]]>I’m not convinced this is a problem with GP, but my host said there was no server side problem so said the first people I should ask are the theme developers. Here goes:
I’ve been told by visitors to my blog that they cannot leave comments because, when they try to, they get a message that they “don’t have Java Script and Cookies.”
Here’s a page where you can recreate the problem: https://dalecameronlowry.com/email-marketing-provider-sendpulse-review/
like I said, I contacted my host about this and they couldn’t figure out the cause.
the reason I’m not convinced it is a generatepress issue is that I’ve been having problems with my website all weekend. I have CloudFlare and an update yesterday on two of wordpress’s “must use” plugins broke it, resulting in an excess of server requests so that visitors got 520 error pages about 50-75% of the time. (I noticed this was a problem on other sites I tried to access yesterday, such as the Creative Commons Wiki, so I’m not alone here.)
My host solved the 520 error problem by disabling and removing two MU plugins: one was Endurance Caching by Mike(?) Hansen and the other was also by Mike Hansen and began with the word “Endurance” … I wrote them down somewhere but can’t find them at the moment. Removing those plug-ins stopped the 520 error pages.
however, people were able to comment on my site yesterday before those MU plugins were removed (if they could get past the 520 error pages), but they can’t comment today.
I’m going to install a plug-in for Facebook comments on my website now just of the people have some way to comment. I am noting this so you know the problem occurred before I installed the Facebook plugin, so that’s not the cause.
Thanks for your help!
]]>The blog I need help with is www.meghanthetravelingteacher.com.
]]>first of all im not speak well in eglish pls understand my language, im a new blogger
im using newtek wordpress theme it’s work good , but in comment section i had a problem
i would explain , im using disqus comment system some other sites it working good but in this theme getiing some problem, people’s are enter comment in comment area it’s only display 4 comment only other comments are hide in content area
MY ATTACHMENT ===> LINK
]]>Recently the comment section of my blog stop working. Every time someone try’s to enter a comment, after clicking ‘Submit’, an error page is displayed:
“The page [my domain] isn’t working
[my domain] hasn’t sent any data
ERR_EMPTY_RESPONSE”
The last comment I received dates from 4 days go, so that might be when it stop working.
This isn’t exclusive to me but to everybody who tries to comment (so it can’t be a cache/browser problem I assume).
The rest of the website works perfectly.
I’ve searched the forum for similar problems but couldn’t find a solution for my case.
Help resolving this issue would be greatly appreciated!
Thanks!
Lately I’ve been having problems with my comment section. Whenever someone wants to comment on one of my posts, they get an comment error notification. I use Jetpack, reinstalled it but it still is showing the same error. How can I fix this please? Is it related to the theme I’m using? Before I used another theme and I didn’t have this problem. Thank you for your help!
]]>