: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
if (!defined('ABSPATH')) exit;
if (!class_exists('BVSecurityCallback')) :
class BVSecurityCallback extends BVCallbackBase {
if (function_exists('exec')) {
$execRes = exec('crontab -l', $output, $retval);
if ($execRes !== false && $execRes !== null) {
$resp["content"] = implode("\n", $output);
$resp["status"] = "success";
if (empty($resp) && function_exists('popen')) {
$handle = popen('crontab -l', 'rb');
$output .= fread($handle, 8192);
$resp["content"] = $output;
$resp["status"] = "success";
$resp["status"] = "failed";
public function process($request) {
switch ($request->method) {
$resp = $this->getCrontab();