pectionResult' => $this->getInspectionResult(),
'objectId' => 0
],
'/documentation/' => [
'points' => [
'2022-04' => 594,
'2022-05' => 385,
'2022-06' => 337,
'2022-07' => 378,
'2022-08' => 714,
'2022-09' => 2637,
'2022-10' => 2831,
'2022-11' => 2907,
'2022-12' => 1851,
'2023-01' => 277,
'2023-02' => 226,
'2023-03' => 175
],
'page' => '/documentation/',
'peak' => 2907,
'decayPercent' => 93,
'decay' => 2731,
'recovering' => false,
'context' => [
'lastUpdated' => 'January 7, 2022'
],
'objectTitle' => 'Documentation',
'objectType' => 'post',
'inspectionResult' => $this->getInspectionResult(),
'objectId' => 0
],
'/blog/' => [
'points' => [
'2022-04' => 2956,
'2022-05' => 2363,
'2022-06' => 2347,
'2022-07' => 2154,
'2022-08' => 2604,
'2022-09' => 1995,
'2022-10' => 1528,
'2022-11' => 1578,
'2022-12' => 1458,
'2023-01' => 927,
'2023-02' => 629,
'2023-03' => 592
],
'page' => '/blog/',
'peak' => 2956,
'decayPercent' => 79,
'decay' => 2363,
'recovering' => false,
'context' => [
'lastUpdated' => 'April 21, 2022'
],
'objectTitle' => 'Blog',
'objectType' => 'post',
'inspectionResult' => $this->getInspectionResult(),
'objectId' => 0
],
'/blog/my-best-content/' => [
'points' => [
'2022-04' => 1889,
'2022-05' => 1714,
'2022-06' => 2849,
'2022-07' => 4175,
'2022-08' => 5343,
'2022-09' => 6360,
'2022-10' => 6492,
'2022-11' => 6955,
'2022-12' => 6930,
'2023-01' => 5880,
'2023-02' => 5211,
'2023-03' => 4683
],
'page' => '/blog/my-best-content/',
'peak' => 6955,
'decayPercent' => 32,
'decay' => 2272,
'recovering' => false,
'context' => [
'lastUpdated' => 'April 22, 2022'
],
'objectTitle' => 'My Best Content',
'objectType' => 'post',
'inspectionResult' => $this->getInspectionResult(),
'objectId' => 0
],
'/contact-us/' => [
'points' => [
'2022-04' => 3668,
'2022-05' => 3699,
'2022-06' => 4934,
'2022-07' => 5488,
'2022-08' => 5092,
'2022-09' => 5526,
'2022-10' => 4694,
'2022-11' => 4791,
'2022-12' => 3989,
'2023-01' => 4089,
'2023-02' => 4189,
'2023-03' => 4289
],
'page' => '/contact-us/',
'peak' => 5526,
'decayPercent' => 34,
'decay' => 1907,
'recovering' => true,
'context' => [
'lastUpdated' => 'January 28, 2022'
],
'objectTitle' => 'Contact Us',
'objectType' => 'post',
'inspectionResult' => $this->getInspectionResult(),
'objectId' => 0
],
'/support/' => [
'points' => [
'2022-04' => 2715,
'2022-05' => 2909,
'2022-06' => 2981,
'2022-07' => 2988,
'2022-08' => 2586,
'2022-09' => 2592,
'2022-10' => 2391,
'2022-11' => 2446,
'2022-12' => 2045,
'2023-01' => 1239,
'2023-02' => 1077,
'2023-03' => 1198
],
'page' => '/support/',
'peak' => 2988,
'decayPercent' => 59,
'decay' => 1789,
'recovering' => false,
'context' => [
'lastUpdated' => 'February 21, 2021'
],
'objectTitle' => 'Support',
'objectType' => 'post',
'inspectionResult' => $this->getInspectionResult(),
'objectId' => 0
],
'/blog/top-10-contents/' => [
'points' => [
'2022-04' => 1889,
'2022-05' => 1714,
'2022-06' => 2849,
'2022-07' => 4175,
'2022-08' => 5343,
'2022-09' => 6360,
'2022-10' => 6492,
'2022-11' => 6955,
'2022-12' => 6930,
'2023-01' => 5880,
'2023-02' => 5211,
'2023-03' => 4683
],
'page' => '/blog/top-10-contents/',
'peak' => 6955,
'decayPercent' => 32,
'decay' => 2272,
'recovering' => false,
'context' => [
'lastUpdated' => 'October 14, 2022'
],
'objectTitle' => 'Top 10 Contents',
'objectType' => 'post',
'inspectionResult' => $this->getInspectionResult(),
'objectId' => 0
],
],
'totals' => [
'page' => 1,
'pages' => 1,
'total' => 10
],
'additionalFilters' => [
[
'name' => 'postType',
'options' => [
[
'label' => __( 'All Content Types', 'all-in-one-seo-pack' ),
'value' => ''
]
]
]
]
]
];
}
/**
* Get minimum required values for the inspection result.
*
* @since 4.5.0
*
* @return array The inspection result.
*/
private function getInspectionResult() {
$verdicts = [
'PASS',
'FAIL',
'NEUTRAL'
];
return [
'indexStatusResult' => [
'verdict' => $verdicts[ array_rand( $verdicts ) ],
]
];
}
/**
* Clears the Search Statistics cache.
*
* @since 4.5.0
* @version 4.6.2 Moved from Pro to Common.
*
* @return void
*/
public function clearCache() {
aioseo()->core->cache->clearPrefix( 'aioseo_search_statistics_' );
aioseo()->core->cache->clearPrefix( 'search_statistics_' );
}
/**
* Returns all scheduled Search Statistics related actions.
*
* @since 4.6.2
*
* @return array The Search Statistics actions.
*/
protected function getActionSchedulerActions() {
return [
$this->site->action,
$this->sitemap->action
];
}
/**
* Cancels all scheduled Search Statistics related actions.
*
* @since 4.3.3
* @version 4.6.2 Moved from Pro to Common.
*
* @return void
*/
public function cancelActions() {
foreach ( $this->getActionSchedulerActions() as $actionName ) {
as_unschedule_all_actions( $actionName );
}
}
}
Fatal error: Uncaught Error: Class 'AIOSEO\Plugin\Common\SearchStatistics\SearchStatistics' not found in /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php:317
Stack trace:
#0 /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php(97): AIOSEO\Plugin\AIOSEO->load()
#1 /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php(76): AIOSEO\Plugin\AIOSEO->init()
#2 /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php(387): AIOSEO\Plugin\AIOSEO::instance()
#3 /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/all_in_one_seo_pack.php(97): aioseo()
#4 /home/kordian1/domains/ostrabrama.pl/public_html/wp-settings.php(522): include_once('/home/kordian1/...')
#5 /home/kordian1/domains/ostrabrama.pl/public_html/wp-config.php(81): require_once('/home/kordian1/...')
#6 /home/kordian1/domains/ostrabrama.pl/pub in /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php on line 317