diff --git a/views_php/plugins/views/views_php_plugin_cache.inc b/views_php/plugins/views/views_php_plugin_cache.inc
index f222b1db..39dca92c 100644
--- a/views_php/plugins/views/views_php_plugin_cache.inc
+++ b/views_php/plugins/views/views_php_plugin_cache.inc
@@ -66,8 +66,7 @@ class views_php_plugin_cache extends views_plugin_cache {
         if ($fresh && !empty($this->options['php_cache_results'])) {
           $code = $this->options['php_cache_results'] . ';';
           $function = function ($view, $plugin, $cache) use ($code) {
+            //hacked! See https://www.drupal.org/project/views_php/issues/3217664
+            return eval($code);
-            eval($code);
           };
 
           ob_start();
@@ -95,8 +94,7 @@ class views_php_plugin_cache extends views_plugin_cache {
         if ($fresh && !empty($this->options['php_cache_output'])) {
           $code = $this->options['php_cache_output'] . ';';
           $function = function ($view, $plugin, $cache) use ($code) {
+            //hacked! See https://www.drupal.org/project/views_php/issues/3217664
+            return eval($code);
-            eval($code);
           };
 
           ob_start();
