Red_Item::create throws error
-
Hi there,
we’re trying to automatically create redirects. Using
Red_Item::create()
just throws this error:
Uncaught Error: Class 'Red_Group' not found [...]
When trying to debug everything seems to be there, including the class Red_Group.This is the code we are trying to use with examplatory data:
$redirectData = array( 'url' => '/hello-world-123-xyz/', 'action_code' => 301, 'action_data' => '/2019/06/26/hello-world/', 'match_type' => 'url', 'group_id' => 1, ); Red_Item::create( $redirectData );
Is this a bug in your plugin or are we using it wrong?
Thanks in advance!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Red_Item::create throws error’ is closed to new replies.