Error Caught
Call to a member function toArray() on null
mod.publisher.php:508