-
i get a error :15.11.2023 14:11:12 shizoworld.de [client 2001:9e8:b00::] PHP Warning: Undefined array key “url_to” in /mnt/web009/d3/77/5792177/htdocs/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirection.php on line 216
the line is:/**
* Check a newly added redirection for infinite loop.
*/
public function is_infinite_loop() {
$destination = $this->data[‘url_to’];
foreach ( $this->data[‘sources’] as $source ) {
if ( ‘exact’ !== $source[‘comparison’] ) {
continue;
}$source_url = home_url( $source[‘pattern’] );
if ( $destination === $source_url ) {
return true;
}
}return false;
}
-
Hello,
We apologize for the inconvenience you’re experiencing with the Rank Math plugin. The error log you’ve shared indicates a PHP warning related to an undefined array key “url_to” in the redirections module of Rank Math.
The error seems to be occurring in the
class-redirection.php
file on line 216. This issue could be due to a conflict or an outdated version of the plugin.To resolve this, we recommend updating Rank Math to the latest version. If you are already using the latest version, please ensure that there are no conflicts with other plugins or themes on your website.
If the issue persists after updating Rank Math and checking for conflicts, please feel free to reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Thank you for bringing this to our attention.
Sources:
Solving Redirection Issues Using Rank Math SEO Plugin » Rank Math
How to Setup Rank Math SEO Plugin Properly
Random URLs Redirecting Even When No Redirect Was Created » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Mathand its still since update to V1.0.206
when an update dont fix the problem what must i do to fix the error?
Hello,
Apologies for the inconvenience.
Could you please share the steps you have taken to generate the error so we can replicate the issue?
Meanwhile, if you’re creating a redirection, please share the entry you have created in this format:
Source: Type: Destination:
Looking forward to helping you.
The Error is logged by my server Logs… so i start investigating – im not show a Error on the Backend or frontend on my site. but im not sure why it generate the error in the log.
i also have an Error by the WordPress Internal Check for a hanging cron job
Das geplante Ereignis, rank_math/content-ai/update_plan, konnte nicht ausgeführt werden. Deine Website funktioniert noch, aber das kann darauf hindeuten, dass die Planung von Beiträgen oder automatisierten Updates nicht wie vorgesehen funktioniert.
i replace the plugin manual by download new from your site and delete the old Plugin store an the server and copy the new files into it – but the error still again – reconnect to the rankmath and google successful and the Content AI Credits are availabe … =0(
do you mean redirections for the 404 monitor? there i create 36…. ähm now 21 ^^
i install the plugin WP Control to check and handle this :
rank_math/content-ai/update_plan — Pausiert
Bearbeiten | Diesen Hook fortsetzen | Löschen
Keine 2023-10-31 14:25:42
vor 2 Wochen 1 Tag RankMath\ContentAI\Event_Scheduler->update_content_ai_plan() Einmaligthis is a hard fault – i cannot change or delete this – also if i try to kill the entry in the database it recall this cron job with exact this entry again – i can only pause it to finish the error in the server log
i can target the problem: if i deaktivate the Content AI Funktion in the plugin the the error is done – but the i cant use any Content AI Funktion – if i Activate the Funktion again the error still present but all works
the error: 16.11.2023 05:02:15 shizoworld.de [client 2a01:238:200::] AH01215: Cron-Unschedule-Event-Fehler f\xc3\xbcr Hook: rank_math/content-ai/update_plan, Fehlercode: could_not_set, Fehlermeldung: Die Cron-Ereignisliste konnte nicht gespeichert werden., Daten: {“schedule”:false,”args”:[]}: /home/strato/http/power/rid/21/77/5792177/htdocs/wp-cron.php
16.11.2023 05:09:37 shizoworld.de [client 2001:9e8:b00::] PHP Warning: Undefined array key “url_to” in /mnt/web009/d3/77/5792177/htdocs/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirection.php on line 216i run WP on a Strato Webspace with PHP 8.2.12 without the PHP Boost – error the same with or without PHP Boost
if i run the cron job manually : Das Cron-Ereignis rank_math/content-ai/update_plan konnte nicht gefunden werden.
« Zurück### rank-math ### version: 1.0.206 database_version: 1 plugin_plan: Free active_modules: link-counter, analytics, seo-analysis, sitemap, rich-snippet, 404-monitor, image-seo, local-seo, redirections, role-manager, amp refresh_token: Token vorhanden permissions: Search Console: Vergeben rank_math_404_logs: 32 kB rank_math_redirections: 32 kB rank_math_redirections_cache: 32 kB rank_math_internal_links: 80 kB rank_math_internal_meta: 16 kB rank_math_analytics_gsc: 6 MB rank_math_analytics_objects: 208 kB rank_math_analytics_inspections: 336 kB ### wp-core ### version: 6.4.1 site_language: de_DE user_language: de_DE timezone: Europe/Berlin permalink: /%year%/%monthnum%/%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: undefined environment_type: production user_count: 1 dotorg_communication: true ### wp-active-theme ### name: Hestia (hestia) version: 3.1.0 author: ThemeIsle author_website: https://themeisle.com parent_theme: none theme_features: core-block-patterns, post-thumbnails, widgets-block-editor, title-tag, automatic-feed-links, custom-logo, html5, custom-header, customize-selective-refresh-widgets, custom-background, themeisle-demo-import, align-wide, header-footer-elementor, starter-content, style, script, editor-color-palette, menus, editor-style, widgets theme_path: /mnt/web009/d3/77/5792177/htdocs/wp-content/themes/hestia auto_update: Aktiviert ### wp-plugins-active (13) ### Autoptimize: version: 3.1.10, author: Frank Goossens (futtta), Automatische Aktualisierungen aktiviert Captcha for Contact Form 7: version: 1.11.6, author: Forge12 Interactive GmbH, Automatische Aktualisierungen aktiviert Easy Add Thumbnail: version: 1.1.3, author: Samuel Aguilera, Automatische Aktualisierungen aktiviert GDPRess: version: 1.2.3, author: Daan from FFW.Press, Automatische Aktualisierungen aktiviert GDPR tools: cookie notice + privacy: version: 1.10, author: fabian heinz webdesign, Automatische Aktualisierungen aktiviert Instant Indexing: version: 1.1.17, author: Rank Math, Automatische Aktualisierungen aktiviert Ninja Forms: version: 3.7.0, author: Saturday Drive, Automatische Aktualisierungen aktiviert Optimus: version: 1.6.3, author: KeyCDN, Automatische Aktualisierungen aktiviert Rank Math SEO: version: 1.0.206, author: Rank Math, Automatische Aktualisierungen aktiviert Wordfence Security: version: 7.10.7, author: Wordfence, Automatische Aktualisierungen aktiviert WP-Sweep: version: 1.1.8, author: Lester 'GaMerZ' Chan, Automatische Aktualisierungen aktiviert WP Crontrol: version: 1.16.0, author: John Blackbourn & crontributors, Automatische Aktualisierungen aktiviert WP Fastest Cache: version: 1.2.2, author: Emre Vona, Automatische Aktualisierungen aktiviert ### wp-server ### server_architecture: Linux localhost 4.18.0-477.27.1.el8_8.x86_64 #1 SMP Linux localhost 4.18.0-477.27.1.el8_8.x86_64 #1 SMP Linux localhost 4.18.0-477.27.1.el8_8.x86_64 #1 SMP httpd_software: Apache/2.4.57 (Unix) php_version: 8.2.12 64bit php_sapi: cgi-fcgi max_input_variables: 4000 time_limit: 240 memory_limit: 512M max_input_time: 60 upload_max_filesize: 128M php_post_max_size: 128M curl_version: 8.4.0 OpenSSL/3.0.10 suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: true current: 2023-11-16T05:24:13+00:00 utc-time: Thursday, 16-Nov-23 05:24:13 UTC server-time: 2023-11-16T06:24:10+01:00 ### wp-database ### extension: mysqli server_version: 10.6.15-MariaDB-1:10.6.15+maria~deb11-log client_version: mysqlnd 8.2.12 max_allowed_packet: 67108864 max_connections: 3000 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /mnt/web009/d3/77/5792177/htdocs/wp-content WP_PLUGIN_DIR: /mnt/web009/d3/77/5792177/htdocs/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 512M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Nicht definiert WP_DEVELOPMENT_MODE: undefined DB_CHARSET: utf8 DB_COLLATE: utf8mb4_unicode_520_ci ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable
Hello,
Please ask your hosting provider to check if your website’s CRON job is working properly.
For us to check the issue further, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
all cron jobs working without errors – only the cron for the Content AI creates this error.
Cron-Ereignisse Erstellen
Ein Ereignis oder mehrere Ereignisse haben ihren Zeitplan verpasst.Weitere Informationen
Alle Ereignisse (30) | Ereignisse ohne Aktionen (0) | WordPress-Kernereignisse (11) | Eigene Ereignisse (19)
Hook-Namen suchen:
Mehrfachaktion wählen
Mehrfachaktionen
Exportieren30 Einträge
Alle auswählen
Hook
Aufsteigend sortieren.
Argumente
Nächste Ausführung (UTC+1)
Aktion
Wiederholung
Aufsteigend sortieren.
Diese Zeile auswählen rank_math/content-ai/update_plan
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-10-31 14:25:42
vor 2 Wochen 3 Tage RankMath\ContentAI\Event_Scheduler->update_content_ai_plan() Einmalig
Diese Zeile auswählen wp_fastest_cache_Preload
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-18 04:05:52
42 Sekunden WpFastestCache->create_preload_cache() Once Every 5 Minutes
Diese Zeile auswählen action_scheduler_run_queue
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
[
“WP Cron”
]
2023-11-18 04:05:53
43 Sekunden ActionScheduler_QueueRunner->run() Every minute
Diese Zeile auswählen wordfence_ls_ntp_cron
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-18 04:08:03
2 Minuten 53 Sekunden WordfenceLS\Controller_Time->_wordfence_ls_ntp_cron() Einmal stündlich
Diese Zeile auswählen wordfence_hourly_cron
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-18 04:08:08
2 Minuten 58 Sekunden wordfence::hourlyCron() Einmal stündlich
Dies ist ein Ereignis des WordPress-Cores und kann nicht entfernt werden wp_privacy_delete_old_export_files
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren
Keine 2023-11-18 04:51:15
46 Minuten 5 Sekunden wp_privacy_delete_old_export_files() Einmal stündlich
Dies ist ein Ereignis des WordPress-Cores und kann nicht entfernt werden wp_version_check
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren
Keine 2023-11-18 07:51:16
3 Stunden 46 Minuten wp_version_check() Zweimal täglich
Dies ist ein Ereignis des WordPress-Cores und kann nicht entfernt werden wp_update_plugins
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren
Keine 2023-11-18 07:51:16
3 Stunden 46 Minuten wp_update_plugins() Zweimal täglich
Dies ist ein Ereignis des WordPress-Cores und kann nicht entfernt werden wp_update_themes
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren
Keine 2023-11-18 07:51:16
3 Stunden 46 Minuten wp_update_themes() Zweimal täglich
Dies ist ein Ereignis des WordPress-Cores und kann nicht entfernt werden wp_update_user_counts
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren
Keine 2023-11-18 07:51:48
3 Stunden 46 Minuten wp_schedule_update_user_counts() Zweimal täglich
Dies ist ein Ereignis des WordPress-Cores und kann nicht entfernt werden recovery_mode_clean_expired_keys
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren
Keine 2023-11-18 19:51:14
15 Stunden 46 Minuten WP_Recovery_Mode->clean_expired_keys() Einmal täglich
Diese Zeile auswählen nf_submission_expiration_cron
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-18 19:51:14
15 Stunden 46 Minuten NF_Database_SubmissionExpirationCron->expired_submission_cron() Einmal täglich
Dies ist ein Ereignis des WordPress-Cores und kann nicht entfernt werden wp_scheduled_delete
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren
Keine 2023-11-18 19:55:26
15 Stunden 50 Minuten wp_scheduled_delete() Einmal täglich
Dies ist ein Ereignis des WordPress-Cores und kann nicht entfernt werden delete_expired_transients
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren
Keine 2023-11-18 19:55:26
15 Stunden 50 Minuten delete_expired_transients() Einmal täglich
Dies ist ein Ereignis des WordPress-Cores und kann nicht entfernt werden wp_scheduled_auto_draft_delete
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren
Keine 2023-11-18 19:58:05
15 Stunden 52 Minuten wp_delete_auto_drafts() Einmal täglich
Diese Zeile auswählen dailyCaptchaClear
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-18 20:07:52
16 Stunden 2 Minuten forge12\contactform7\CF7Captcha\CaptchaCleaner->clean() Einmal täglich
Diese Zeile auswählen dailyCaptchaTimerClear
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-18 20:07:52
16 Stunden 2 Minuten forge12\contactform7\CF7Captcha\CaptchaTimerCleaner->clean() Einmal täglich
Diese Zeile auswählen wordfence_daily_autoUpdate
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-18 20:07:53
16 Stunden 2 Minuten wfConfig::autoUpdate() Einmal täglich
Diese Zeile auswählen wordfence_daily_cron
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-18 20:08:08
16 Stunden 2 Minuten wordfence::dailyCron() Einmal täglich
Diese Zeile auswählen rank_math/redirection/clean_trashed
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-19 01:00:00
20 Stunden 54 Minuten RankMath\Redirections\DB::periodic_clean_trash() Einmal täglich
Diese Zeile auswählen rank_math/links/internal_links
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-19 01:00:00
20 Stunden 54 Minuten RankMath\Links\Links->cron_job() Einmal täglich
Diese Zeile auswählen rank_math/content-ai/update_prompts
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-19 02:27:58
22 Stunden 22 Minuten RankMath\ContentAI\Event_Scheduler->update_prompts_data() Einmal täglich
Diese Zeile auswählen wordfence_start_scheduled_scan
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen | Delete all events with this hook (2)
[
1700507400
]
2023-11-20 20:10:00
2 Tage 16 Stunden wordfence::wordfenceStartScheduledScan() Einmalig
Diese Zeile auswählen wp_delete_temp_updater_backups
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-22 20:04:24
4 Tage 15 Stunden wp_delete_all_temp_backups() Einmal wöchentlich
Diese Zeile auswählen weeklyIPClear
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-22 20:07:52
4 Tage 16 Stunden forge12\contactform7\CF7Captcha\IPBanCleaner->clean()
forge12\contactform7\CF7Captcha\IPLogCleaner->clean() Einmal wöchentlich
Diese Zeile auswählen nf_weekly_promotion_update
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-11-22 20:51:48
4 Tage 16 Stunden Ninja_Forms->nf_run_promotion_manager() Einmal pro Woche
Dies ist ein Ereignis des WordPress-Cores und kann nicht entfernt werden wp_site_health_scheduled_check
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren
Keine 2023-11-23 19:51:15
5 Tage 15 Stunden WP_Site_Health->wp_cron_scheduled_check() Einmal wöchentlich
Diese Zeile auswählen wordfence_start_scheduled_scan
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen | Delete all events with this hook (2)
[
1700766600
]
2023-11-23 20:10:00
5 Tage 16 Stunden wordfence::wordfenceStartScheduledScan() Einmalig
Diese Zeile auswählen wordfence_email_activity_report
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-12-01 16:00:00
1 Woche 6 Tage wfActivityReport::executeCronJob() Einmalig
Diese Zeile auswählen nf_optin_cron
Bearbeiten | Jetzt ausführen | Diesen Hook pausieren | Löschen
Keine 2023-12-16 20:56:11
4 Wochen nf_optin_update_environment_vars() Einmal pro Monat.
log
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.
The ticket ‘Error log’ is closed to new replies.