Error Class ‘Red_Group’ not found
-
Firstly, thanks for the plugin.
I created a redirection using the API in the way the documentation said.
If I run my function directly all works fine, but if I call my function from a cron job, the redirection is not created and I found this error on logs files:
[error] - ( 16:44:09 ) - Redirect from https://secretdev.smn/block-cover/ to https://elmundo.es/ not added. - Array ( [0] => Error Object ( [message:protected] => Class 'Red_Group' not found [string:Error:private] => [code:protected] => 0 [file:protected] => /var/www/html/wp-content/plugins/redirection/models/redirect/redirect-sanitizer.php [line:protected] => 207 [trace:Error:private] => Array ( [0] => Array ( [file] => /var/www/html/wp-content/plugins/redirection/models/redirect/redirect-sanitizer.php [line] => 114 [function] => get_group [class] => Red_Item_Sanitize [type] => -> [args] => Array ( [0] => 1 ) ) [1] => Array ( [file] => /var/www/html/wp-content/plugins/redirection/models/redirect/redirect.php [line] => 479 [function] => get [class] => Red_Item_Sanitize [type] => -> [args] => Array ( [0] => Array ( [status] => enabled [group_id] => 1 [url] => https://secretdev.smn/block-cover/ [match_type] => url [match_data] => Array ( [source] => Array ( [flag_query] => pass ) ) [action_type] => url [action_data] => Array ( [url] => https://elmundo.es/ ) [action_code] => 301 ) ) ) [2] => Array ( [file] => /var/www/html/wp-content/themes/secretmedianetwork/classes/seo/class-cleanup-old-url-controller.php [line] => 182 [function] => create [class] => Red_Item [type] => :: [args] => Array ( [0] => Array ( [status] => enabled [group_id] => 1 [url] => https://secretdev.smn/block-cover/ [match_type] => url [match_data] => Array ( [source] => Array ( [flag_query] => pass ) ) [action_type] => url [action_data] => Array ( [url] => https://elmundo.es/ ) [action_code] => 301 ) ) ) .......................................................................................
What could be going on? Why class Red_Group is unreachable in this way?
Thanks in advance!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.