abazeed
Forum Replies Created
-
Thank you @davilera for your kind and detailed response, and I appreciate your understanding!
Thank you again!
Here’s the custom logger I’m using. I’m getting the error when a new instance of the class is created:
add_action('simple_history/add_custom_logger', function ($simpleHistory) { $simpleHistory->register_logger('SimpleStickyLogger'); }); include_once WP_PLUGIN_DIR . '/simple-history/loggers/class-simple-logger.php'; /** * Class for logging all sticky post changes. */ class CustomLogger extends SimpleLogger { public $slug = 'SimpleLogger'; /** * Return information about this logger. * Used to show info about the logger at various places. */ public function getInfo() { $arr_info = array( 'name' => 'SimpleStickyLogger', 'description' => 'Logs the changes of the sticky posts status and order', 'capability' => 'edit_pages', 'messages' => [ 'sticky_post_added' => '<b>Sticky Posts:</b> New sticky post is added - </br> {added_id}', 'sticky_post_removed' => '<b>Sticky Posts:</b> One sticky post is removed by - {removed_id} {removed_link} [was sticky for {spent_time} ]"', 'sticky_post_replaced' => '<b>Sticky Posts:</b> The following sticky post(s) are added: </br> {added_post_ids} </br> In the place of the following sticky posts:</br> {removed_post_ids} ', 'sticky_post_reordered' => '<b>Sticky Post:</b> The order of the sticky posts list item is updated: </br> {sticky_order} ', ], 'labels' => [ 'search' => [ 'label' => 'Sticky posts', 'label_all' => 'All sticky posts activity', 'options' => [ 'Sticky post added', 'Sticky post removed', 'Sticky post replaced', 'Sticky posts reordered', ], ], ], ); return $arr_info; } function stickyOrderUpdated( $keyContent ) { SimpleLogger()->info( 'The order of the sticky posts list item is updated: {sticky_order}', $keyContent ); } function stickyPostReplaced( $keyContent ) { SimpleLogger()->info( 'New sticky added {added_post_ids} replaced by {removed_post_ids} ', $keyContent ); } function stickyPostAdded( $keyContent ) { SimpleLogger()->info( 'New sticky post {added_id} is added by {user_id}', $keyContent ); } function stickyPostRemoved( $keyContent ) { SimplLogger()->info( 'Sticky post {removed_id} removed by {user_id}', $keyContent ); } function videoAdded( $keyContent ) { SimpleLogger()->info( 'New video {added_id} is added by {user_id}', $keyContent ); } function videoUpdated( $keyContent ) { SimpleLogger()->info( 'A video {updated_id} was updated by {user_id}. The following details were changed :<br> {detailed_content}', $keyContent ); } function videoRemoved( $keyContent ) { SimpleLogger()->info( 'Video {removed_id} removed by {user_id} from {type}', $keyContent ); } }
Forum: Plugins
In reply to: [User Switching] PHP fatal error when switching the themeThank you @johnbillion for the reply and suggestion!
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Have an option to disable/clean logsThank you @zahardoc!
I think it’s because we have the Seriously Simple Administration plugin activated, that’s why this constant is true by default:
// wp-content/plugins/seriously-simple-administration/seriously-simple-administration.php:36 if ( ! defined( 'SSP_DEBUG' ) ) { define( 'SSP_DEBUG', true ); }
I think I have to add this line to
wp-config
to override it:define( 'SSP_DEBUG', false );
Thank you @rankmathteam, I think the issue was resolved after the last update of the plugin that fixed the special characters issue [Arabic slug].
Many thanks for your help and support!
- This reply was modified 2 years, 8 months ago by abazeed.
Hello @rankmathteam,
We did a deeper debugging and found that the auto submission requests are going out properly. But our concerns that when we check the status of the URL using the plugin console, we find it Indexed:
Wherese the Google Search Console URL Inspection Tool shows that the same URL status is Not Indexed.
We did another test to submit the URL manually using the plugin and it showed that it was successfully submitted:
And the URL Inspector still showing it Not Indexed!
For the old posts, the status is Indexed, which could be indexed after Google normally crawls the website. So it’s not a website issue or a Google issue.
Any idea?
Thank you for your help and support!
Best Regards,
Forum: Plugins
In reply to: [Instant Indexing for Google] Duplicated entries in the IndexNow History tabThank you @rankmathteam, it seems to be resolved after the last update.
Forum: Plugins
In reply to: [Instant Indexing for Google] Arabic slug issueThank you @rankmathteam, it’s working now!
I think there’s a conflict between the RankMath Instant Indexing module, and the Instant Indexing plugin. Why don’t you make it one module for the Instant Indexing for both, Google Instant Indexing and IndexNow APIs, and eliminate the need for the Instant indexing plugin?
The auto submission is working fine with the IndexNow API, but not with Google Instant Indexing API.
Forum: Plugins
In reply to: [Instant Indexing for Google] Arabic slug issueAny update here, please?
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] Can’t save settings changesAny help here, please?
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] Can’t save settings changesAfter running the Query Monitor plugin, I got this error:
Undefined variable: notice_switch
wp-content/plugins/amp-wp/admin/partials/settings/amp-wp-admin-layout.php:106 Amp_WP_Layout->amp_wp_add_layout_settings() wp-includes/class-wp-hook.php:303 do_action('amp_wp_settings_tab_section') wp-content/plugins/amp-wp/includes/admin/class-amp-wp-settings.php:106 Amp_WP_Settings->amp_wp_settings_tab_menu() wp-includes/class-wp-hook.php:303 do_action('amp-wp_page_amp-wp-settings') wp-admin/admin.php:259
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Player is not working after updateHi,
Thank you for your support. I actually discovered that some of the HTML classes of the player were changed. We were using a hard-coded player that was a copy of the embedded player, and the issue was fixed after we updated those classes.
Thank you again for your time and support.
Best Regards,
Hello, @dtzriaz,
You can add the code to your theme
functions.php
file. You need to add it 2 times, one for Facebook and another for Twitter, like this:add_filter( "rank_math/opengraph/facebook/image", function( $image_url ) { $watermarked_image_url = ... //Do something to get the watermarked image URL return $watermarked_image_url; }); add_filter( "rank_math/opengraph/twitter/image", function( $image_url ) { $watermarked_image_url = ... //Do something to get the watermarked image URL return $watermarked_image_url; });
But you still need something to give you the watermarked image, this could be a plugin. In my case, I used the AWS Serverless Image Handler API that utilizes Thumbor filters to do many things, including the watermark filter.
Regards,
Hi,
We started receiving POST requests coming from our WP servers initiated by the Wordfence plugin to our website homepage, the requests look like this one:
https://www.akhbaralaan.net/?wordfence_syncAttackData=1612315820.7249
And we are receiving some GET requests when some visitors open some pages like the homepage or category pages.
https://www.akhbaralaan.net/?wordfence_syncAttackData=1613903598.9544
We tried to find the reason behind these requests but we didn’t find a clear answer. We are currently blocking these requests to avoid server overload.
Could you please help with this? I’ve already sent a Diagnostics report to [email protected]
Best Regards,