Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
Use of undefined constant Uranus - assumed 'Uranus' (this will throw an Error in a future version of PHP) Whoops\Exception\ErrorException thrown with message "Use of undefined constant Uranus - assumed 'Uranus' (this will throw an Error in a future version of PHP)" Stacktrace: #24 Whoops\Exception\ErrorException in /www/newtheastrologercom_455/public/wp-content/plugins/global-content-blocks-bk/global-content-blocks.php:248 #23 Whoops\Run:handleError in /www/newtheastrologercom_455/public/wp-content/plugins/global-content-blocks-bk/global-content-blocks.php:248 #22 eval in /www/newtheastrologercom_455/public/wp-content/plugins/global-content-blocks-bk/global-content-blocks.php:248 #21 gcb in /www/newtheastrologercom_455/public/wp-content/plugins/global-content-blocks-bk/global-content-blocks.php:221 #20 gcb_shortcode_replacer in /www/newtheastrologercom_455/public/wp-includes/shortcodes.php:319 #19 do_shortcode_tag in [internal]:0 #18 preg_replace_callback in /www/newtheastrologercom_455/public/wp-includes/shortcodes.php:197 #17 do_shortcode in /www/newtheastrologercom_455/public/wp-content/plugins/wp-views/embedded/inc/wpv-shortcodes.php:2952 #16 wpv_do_shortcode in /www/newtheastrologercom_455/public/wp-content/plugins/wp-views/embedded/inc/wpv.class.php:2267 #15 WP_Views:render_view in /www/newtheastrologercom_455/public/wp-content/plugins/wp-views/embedded/inc/wpv.class.php:2019 #14 WP_Views:render_view_ex in /www/newtheastrologercom_455/public/wp-content/plugins/wp-views/embedded/inc/wpv.class.php:626 #13 WP_Views:short_tag_wpv_view in /www/newtheastrologercom_455/public/wp-includes/shortcodes.php:319 #12 do_shortcode_tag in [internal]:0 #11 preg_replace_callback in /www/newtheastrologercom_455/public/wp-includes/shortcodes.php:197 #10 do_shortcode in /www/newtheastrologercom_455/public/wp-includes/class-wp-hook.php:286 #9 WP_Hook:apply_filters in /www/newtheastrologercom_455/public/wp-includes/plugin.php:203 #8 apply_filters in /www/newtheastrologercom_455/public/wp-includes/post-template.php:240 #7 the_content in /www/newtheastrologercom_455/public/wp-content/themes/bb-theme-child/content-page.php:23 #6 require in /www/newtheastrologercom_455/public/wp-includes/template.php:690 #5 load_template in /www/newtheastrologercom_455/public/wp-includes/template.php:647 #4 locate_template in /www/newtheastrologercom_455/public/wp-includes/general-template.php:155 #3 get_template_part in /www/newtheastrologercom_455/public/wp-content/themes/bb-theme/tpl-sidebar.php:18 #2 include in /www/newtheastrologercom_455/public/wp-includes/template-loader.php:74 #1 require_once in /www/newtheastrologercom_455/public/wp-blog-header.php:19 #0 require in /www/newtheastrologercom_455/public/index.php:17
Stack frames (25)
24
Whoops
\
Exception
\
ErrorException
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
global-content-blocks-bk
/
global-content-blocks.php
248
23
Whoops
\
Run
handleError
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
global-content-blocks-bk
/
global-content-blocks.php
248
22
eval
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
global-content-blocks-bk
/
global-content-blocks.php
248
21
gcb
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
global-content-blocks-bk
/
global-content-blocks.php
221
20
gcb_shortcode_replacer
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
shortcodes.php
319
19
do_shortcode_tag
[internal]
0
18
preg_replace_callback
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
shortcodes.php
197
17
do_shortcode
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
wp-views
/
embedded
/
inc
/
wpv-shortcodes.php
2952
16
wpv_do_shortcode
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
wp-views
/
embedded
/
inc
/
wpv.class.php
2267
15
WP_Views
render_view
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
wp-views
/
embedded
/
inc
/
wpv.class.php
2019
14
WP_Views
render_view_ex
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
wp-views
/
embedded
/
inc
/
wpv.class.php
626
13
WP_Views
short_tag_wpv_view
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
shortcodes.php
319
12
do_shortcode_tag
[internal]
0
11
preg_replace_callback
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
shortcodes.php
197
10
do_shortcode
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
class-wp-hook.php
286
9
WP_Hook
apply_filters
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
plugin.php
203
8
apply_filters
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
post-template.php
240
7
the_content
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
themes
/
bb-theme-child
/
content-page.php
23
6
require
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
template.php
690
5
load_template
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
template.php
647
4
locate_template
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
general-template.php
155
3
get_template_part
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
themes
/
bb-theme
/
tpl-sidebar.php
18
2
include
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
template-loader.php
74
1
require_once
/
www
/
newtheastrologercom_455
/
public
/
wp-blog-header.php
19
0
require
/
www
/
newtheastrologercom_455
/
public
/
index.php
17
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
global-content-blocks-bk
/
global-content-blocks.php
        if(is_numeric($id)) {     
            $entry = gcb::get_entry_by_id(intval($id));
        } else {
            $entry = gcb::get_entry_by_custom_id($id);
        }        
    
        if(is_array($entry)) {            
            $content = htmlspecialchars_decode(stripslashes($entry['value']));
            
            //process the attributes
            if(is_array($attributes)&& count($attributes)){
                foreach($attributes as $attribute_key=>$attribute_value){
                    $content = str_replace("%%".$attribute_key."%%",$attribute_value,$content);
                }
            }            
            
            if($entry['type'] == "php") {
                //execute the php code
                ob_start();
                $result = eval(" ".$content);
                $output = ob_get_contents();
                ob_end_clean();
                
                return apply_filters('gcb_block_output', do_shortcode($output . $result));//run the shortcodes as well
            }
            elseif($entry['type'] == "html") {   // alloyphoto: enable PHP code in < ?php ... ? > tags inside blocks
                ob_start();
                eval("?>$content<?php ");
                $output = ob_get_contents();
                ob_end_clean();
                
                return apply_filters('gcb_block_output', do_shortcode($output));//run the shortcodes as well
            }
            else {
                return apply_filters('gcb_block_output', do_shortcode($content));//make sure we also run the shortcodes in here
            }
        }
        else
        {   return "";    }
    }
Arguments
  1. "Use of undefined constant Uranus - assumed 'Uranus' (this will throw an Error in a future version of PHP)"
    
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
global-content-blocks-bk
/
global-content-blocks.php
        if(is_numeric($id)) {     
            $entry = gcb::get_entry_by_id(intval($id));
        } else {
            $entry = gcb::get_entry_by_custom_id($id);
        }        
    
        if(is_array($entry)) {            
            $content = htmlspecialchars_decode(stripslashes($entry['value']));
            
            //process the attributes
            if(is_array($attributes)&& count($attributes)){
                foreach($attributes as $attribute_key=>$attribute_value){
                    $content = str_replace("%%".$attribute_key."%%",$attribute_value,$content);
                }
            }            
            
            if($entry['type'] == "php") {
                //execute the php code
                ob_start();
                $result = eval(" ".$content);
                $output = ob_get_contents();
                ob_end_clean();
                
                return apply_filters('gcb_block_output', do_shortcode($output . $result));//run the shortcodes as well
            }
            elseif($entry['type'] == "html") {   // alloyphoto: enable PHP code in < ?php ... ? > tags inside blocks
                ob_start();
                eval("?>$content<?php ");
                $output = ob_get_contents();
                ob_end_clean();
                
                return apply_filters('gcb_block_output', do_shortcode($output));//run the shortcodes as well
            }
            else {
                return apply_filters('gcb_block_output', do_shortcode($content));//make sure we also run the shortcodes in here
            }
        }
        else
        {   return "";    }
    }
Arguments
  1. 2
    
  2. "Use of undefined constant Uranus - assumed 'Uranus' (this will throw an Error in a future version of PHP)"
    
  3. "/www/newtheastrologercom_455/public/wp-content/plugins/global-content-blocks-bk/global-content-blocks.php(248) : eval()'d code"
    
  4. 1
    
  5. array:6 [
      "id" => "planetary-aspects-in-other-charts"
      "attributes" => array:4 [
        "id" => "planetary-aspects-in-other-charts"
        "planet1" => "Uranus"
        "aspect" => "Square"
        "planet2" => "Saturn"
      ]
      "entry" => array:6 [
        "name" => "Planetary Aspects in Other Charts"
        "description" => "For \&quot;Planetary Aspects\&quot; sub-pages. Transit to Transit report (ID 48)."
        "value" => """
          $planet1 = %%planet1%%;\r\n
          $aspect = %%aspect%%;\r\n
          $planet2 = %%planet2%%;\r\n
          \r\n
          if ( ! in_category( \'personality-profile\' ) ) {\r\n
          \r\n
          \t$args = array(\r\n
          \t\t\t\'post_type\' =&gt; \'post\',\r\n
          \t\t\t\'category_name\' =&gt; \'personality-profile\',\r\n
          \t\t\t\'meta_query\' =&gt; array(\r\n
          \t\t\t\t\trelation =&gt; \'AND\',\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_planet1\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $planet1\r\n
          \t\t\t\t\t),\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_aspect\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $aspect\r\n
          \t\t\t\t\t),\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_planet2\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $planet2\r\n
          \t\t\t\t\t)\r\n
          \t\t\t)\r\n
          \t\t);\r\n
          \t$the_query = new WP_Query( $args );\r\n
          \r\n
          \tif ( $the_query-&gt;have_posts() ) {\r\n
          \t\twhile ( $the_query-&gt;have_posts() ) {\r\n
          \t\t\t$the_query-&gt;the_post();\r\n
          \t\t\techo \'&lt;p class=\&quot;combinations-in-other-charts\&quot;&gt;&lt;a href=\&quot;\'. get_permalink() .\'\&quot;&gt;\' . get_the_title() . \' in the Natal Chart&lt;/a&gt;&lt;/p&gt;\';\r\n
          \t\t}\r\n
          \t\twp_reset_postdata();\r\n
          \t}\r\n
          \telse {}\t\r\n
          \r\n
          }\r\n
          \r\n
          \r\n
          if ( ! in_category( \'romantic-compatibility\' ) ) {\r\n
          \r\n
          \t$args = array(\r\n
          \t\t\t\'post_type\' =&gt; \'post\',\r\n
          \t\t\t\'category_name\' =&gt; \'romantic-compatibility\',\r\n
          \t\t\t\'meta_query\' =&gt; array(\r\n
          \t\t\t\t\trelation =&gt; \'AND\',\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_planet1\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $planet1\r\n
          \t\t\t\t\t),\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_aspect\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $aspect\r\n
          \t\t\t\t\t),\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_planet2\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $planet2\r\n
          \t\t\t\t\t)\r\n
          \t\t\t)\r\n
          \t\t);\r\n
          \t$the_query = new WP_Query( $args );\r\n
          \r\n
          \tif ( $the_query-&gt;have_posts() ) {\r\n
          \t\twhile ( $the_query-&gt;have_posts() ) {\r\n
          \t\t\t$the_query-&gt;the_post();\r\n
          \t\t\techo \'&lt;p class=\&quot;combinations-in-other-charts\&quot;&gt;&lt;a href=\&quot;\'. get_permalink() .\'\&quot;&gt;\' . get_the_title() . \' in the Compatibility Chart&lt;/a&gt;&lt;/p&gt;\';\r\n
          \t\t}\r\n
          \t\twp_reset_postdata();\r\n
          \t}\r\n
          \telse {}\r\n
          \r\n
          }\r\n
          \r\n
          \r\n
          if ( ! in_category( \'life-forecast\' ) ) {\r\n
          \r\n
          \t$args = array(\r\n
          \t\t\t\'post_type\' =&gt; \'post\',\r\n
          \t\t\t\'category_name\' =&gt; \'life-forecast\',\r\n
          \t\t\t\'meta_query\' =&gt; array(\r\n
          \t\t\t\t\trelation =&gt; \'AND\',\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_planet1\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $planet1\r\n
          \t\t\t\t\t),\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_aspect\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $aspect\r\n
          \t\t\t\t\t),\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_planet2\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $planet2\r\n
          \t\t\t\t\t)\r\n
          \t\t\t)\r\n
          \t\t);\r\n
          \t$the_query = new WP_Query( $args );\r\n
          \r\n
          \tif ( $the_query-&gt;have_posts() ) {\r\n
          \t\twhile ( $the_query-&gt;have_posts() ) {\r\n
          \t\t\t$the_query-&gt;the_post();\r\n
          \t\t\techo \'&lt;p class=\&quot;combinations-in-other-charts\&quot;&gt;&lt;a href=\&quot;\'. get_permalink() .\'\&quot;&gt;\' . get_the_title() . \' in the Transit Chart&lt;/a&gt;&lt;/p&gt;\';\r\n
          \t\t}\r\n
          \t\twp_reset_postdata();\r\n
          \t}\r\n
          \telse {}\r\n
          \r\n
          }\r\n
          \r\n
          \r\n
          if ( ! in_category( \'relationship-analysis\' ) ) {\r\n
          \r\n
          \t$args = array(\r\n
          \t\t\t\'post_type\' =&gt; \'post\',\r\n
          \t\t\t\'category_name\' =&gt; \'relationship-analysis\',\r\n
          \t\t\t\'meta_query\' =&gt; array(\r\n
          \t\t\t\t\trelation =&gt; \'AND\',\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_planet1\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $planet1\r\n
          \t\t\t\t\t),\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_aspect\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $aspect\r\n
          \t\t\t\t\t),\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_planet2\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $planet2\r\n
          \t\t\t\t\t)\r\n
          \t\t\t)\r\n
          \t\t);\r\n
          \t$the_query = new WP_Query( $args );\r\n
          \r\n
          \tif ( $the_query-&gt;have_posts() ) {\r\n
          \t\twhile ( $the_query-&gt;have_posts() ) {\r\n
          \t\t\t$the_query-&gt;the_post();\r\n
          \t\t\techo \'&lt;p class=\&quot;combinations-in-other-charts\&quot;&gt;&lt;a href=\&quot;\'. get_permalink() .\'\&quot;&gt;\' . get_the_title() . \' in the Composite Chart&lt;/a&gt;&lt;/p&gt;\';\r\n
          \t\t}\r\n
          \t\twp_reset_postdata();\r\n
          \t}\r\n
          \telse {}\r\n
          \r\n
          }\r\n
          \r\n
          \r\n
          if ( ! in_category( \'birthday-forecast\' ) ) {\r\n
          \r\n
          \t$args = array(\r\n
          \t\t\t\'post_type\' =&gt; \'post\',\r\n
          \t\t\t\'category_name\' =&gt; \'birthday-forecast\',\r\n
          \t\t\t\'meta_query\' =&gt; array(\r\n
          \t\t\t\t\trelation =&gt; \'AND\',\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_planet1\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $planet1\r\n
          \t\t\t\t\t),\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_aspect\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $aspect\r\n
          \t\t\t\t\t),\r\n
          \t\t\t\t\tarray(\r\n
          \t\t\t\t\t\t\'key\' =&gt; \'wpcf-ta_report_planet2\',\r\n
          \t\t\t\t\t\t\'value\' =&gt; $planet2\r\n
          \t\t\t\t\t)\r\n
          \t\t\t)\r\n
          \t\t);\r\n
          \t$the_query = new WP_Query( $args );\r\n
          \r\n
          \tif ( $the_query-&gt;have_posts() ) {\r\n
          \t\twhile ( $the_query-&gt;have_posts() ) {\r\n
          \t\t\t$the_query-&gt;the_post();\r\n
          \t\t\techo \'&lt;p class=\&quot;combinations-in-other-charts\&quot;&gt;&lt;a href=\&quot;\'. get_permalink() .\'\&quot;&gt;\' . get_the_title() . \' in the Solar Return Chart&lt;/a&gt;&lt;/p&gt;\';\r\n
          \t\t}\r\n
          \t\twp_reset_postdata();\r\n
          \t}\r\n
          \telse {}\r\n
          \t\r\n
          }
          """
        "custom_id" => "planetary-aspects-in-other-charts"
        "type" => "php"
        "id" => 269
      ]
      "content" => """
        $planet1 = Uranus;\r\n
        $aspect = Square;\r\n
        $planet2 = Saturn;\r\n
        \r\n
        if ( ! in_category( 'personality-profile' ) ) {\r\n
        \r\n
        \t$args = array(\r\n
        \t\t\t'post_type' => 'post',\r\n
        \t\t\t'category_name' => 'personality-profile',\r\n
        \t\t\t'meta_query' => array(\r\n
        \t\t\t\t\trelation => 'AND',\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_planet1',\r\n
        \t\t\t\t\t\t'value' => $planet1\r\n
        \t\t\t\t\t),\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_aspect',\r\n
        \t\t\t\t\t\t'value' => $aspect\r\n
        \t\t\t\t\t),\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_planet2',\r\n
        \t\t\t\t\t\t'value' => $planet2\r\n
        \t\t\t\t\t)\r\n
        \t\t\t)\r\n
        \t\t);\r\n
        \t$the_query = new WP_Query( $args );\r\n
        \r\n
        \tif ( $the_query->have_posts() ) {\r\n
        \t\twhile ( $the_query->have_posts() ) {\r\n
        \t\t\t$the_query->the_post();\r\n
        \t\t\techo '<p class="combinations-in-other-charts"><a href="'. get_permalink() .'">' . get_the_title() . ' in the Natal Chart</a></p>';\r\n
        \t\t}\r\n
        \t\twp_reset_postdata();\r\n
        \t}\r\n
        \telse {}\t\r\n
        \r\n
        }\r\n
        \r\n
        \r\n
        if ( ! in_category( 'romantic-compatibility' ) ) {\r\n
        \r\n
        \t$args = array(\r\n
        \t\t\t'post_type' => 'post',\r\n
        \t\t\t'category_name' => 'romantic-compatibility',\r\n
        \t\t\t'meta_query' => array(\r\n
        \t\t\t\t\trelation => 'AND',\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_planet1',\r\n
        \t\t\t\t\t\t'value' => $planet1\r\n
        \t\t\t\t\t),\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_aspect',\r\n
        \t\t\t\t\t\t'value' => $aspect\r\n
        \t\t\t\t\t),\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_planet2',\r\n
        \t\t\t\t\t\t'value' => $planet2\r\n
        \t\t\t\t\t)\r\n
        \t\t\t)\r\n
        \t\t);\r\n
        \t$the_query = new WP_Query( $args );\r\n
        \r\n
        \tif ( $the_query->have_posts() ) {\r\n
        \t\twhile ( $the_query->have_posts() ) {\r\n
        \t\t\t$the_query->the_post();\r\n
        \t\t\techo '<p class="combinations-in-other-charts"><a href="'. get_permalink() .'">' . get_the_title() . ' in the Compatibility Chart</a></p>';\r\n
        \t\t}\r\n
        \t\twp_reset_postdata();\r\n
        \t}\r\n
        \telse {}\r\n
        \r\n
        }\r\n
        \r\n
        \r\n
        if ( ! in_category( 'life-forecast' ) ) {\r\n
        \r\n
        \t$args = array(\r\n
        \t\t\t'post_type' => 'post',\r\n
        \t\t\t'category_name' => 'life-forecast',\r\n
        \t\t\t'meta_query' => array(\r\n
        \t\t\t\t\trelation => 'AND',\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_planet1',\r\n
        \t\t\t\t\t\t'value' => $planet1\r\n
        \t\t\t\t\t),\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_aspect',\r\n
        \t\t\t\t\t\t'value' => $aspect\r\n
        \t\t\t\t\t),\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_planet2',\r\n
        \t\t\t\t\t\t'value' => $planet2\r\n
        \t\t\t\t\t)\r\n
        \t\t\t)\r\n
        \t\t);\r\n
        \t$the_query = new WP_Query( $args );\r\n
        \r\n
        \tif ( $the_query->have_posts() ) {\r\n
        \t\twhile ( $the_query->have_posts() ) {\r\n
        \t\t\t$the_query->the_post();\r\n
        \t\t\techo '<p class="combinations-in-other-charts"><a href="'. get_permalink() .'">' . get_the_title() . ' in the Transit Chart</a></p>';\r\n
        \t\t}\r\n
        \t\twp_reset_postdata();\r\n
        \t}\r\n
        \telse {}\r\n
        \r\n
        }\r\n
        \r\n
        \r\n
        if ( ! in_category( 'relationship-analysis' ) ) {\r\n
        \r\n
        \t$args = array(\r\n
        \t\t\t'post_type' => 'post',\r\n
        \t\t\t'category_name' => 'relationship-analysis',\r\n
        \t\t\t'meta_query' => array(\r\n
        \t\t\t\t\trelation => 'AND',\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_planet1',\r\n
        \t\t\t\t\t\t'value' => $planet1\r\n
        \t\t\t\t\t),\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_aspect',\r\n
        \t\t\t\t\t\t'value' => $aspect\r\n
        \t\t\t\t\t),\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_planet2',\r\n
        \t\t\t\t\t\t'value' => $planet2\r\n
        \t\t\t\t\t)\r\n
        \t\t\t)\r\n
        \t\t);\r\n
        \t$the_query = new WP_Query( $args );\r\n
        \r\n
        \tif ( $the_query->have_posts() ) {\r\n
        \t\twhile ( $the_query->have_posts() ) {\r\n
        \t\t\t$the_query->the_post();\r\n
        \t\t\techo '<p class="combinations-in-other-charts"><a href="'. get_permalink() .'">' . get_the_title() . ' in the Composite Chart</a></p>';\r\n
        \t\t}\r\n
        \t\twp_reset_postdata();\r\n
        \t}\r\n
        \telse {}\r\n
        \r\n
        }\r\n
        \r\n
        \r\n
        if ( ! in_category( 'birthday-forecast' ) ) {\r\n
        \r\n
        \t$args = array(\r\n
        \t\t\t'post_type' => 'post',\r\n
        \t\t\t'category_name' => 'birthday-forecast',\r\n
        \t\t\t'meta_query' => array(\r\n
        \t\t\t\t\trelation => 'AND',\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_planet1',\r\n
        \t\t\t\t\t\t'value' => $planet1\r\n
        \t\t\t\t\t),\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_aspect',\r\n
        \t\t\t\t\t\t'value' => $aspect\r\n
        \t\t\t\t\t),\r\n
        \t\t\t\t\tarray(\r\n
        \t\t\t\t\t\t'key' => 'wpcf-ta_report_planet2',\r\n
        \t\t\t\t\t\t'value' => $planet2\r\n
        \t\t\t\t\t)\r\n
        \t\t\t)\r\n
        \t\t);\r\n
        \t$the_query = new WP_Query( $args );\r\n
        \r\n
        \tif ( $the_query->have_posts() ) {\r\n
        \t\twhile ( $the_query->have_posts() ) {\r\n
        \t\t\t$the_query->the_post();\r\n
        \t\t\techo '<p class="combinations-in-other-charts"><a href="'. get_permalink() .'">' . get_the_title() . ' in the Solar Return Chart</a></p>';\r\n
        \t\t}\r\n
        \t\twp_reset_postdata();\r\n
        \t}\r\n
        \telse {}\r\n
        \t\r\n
        }
        """
      "attribute_value" => "Saturn"
      "attribute_key" => "planet2"
    ]
    
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
global-content-blocks-bk
/
global-content-blocks.php
        if(is_numeric($id)) {     
            $entry = gcb::get_entry_by_id(intval($id));
        } else {
            $entry = gcb::get_entry_by_custom_id($id);
        }        
    
        if(is_array($entry)) {            
            $content = htmlspecialchars_decode(stripslashes($entry['value']));
            
            //process the attributes
            if(is_array($attributes)&& count($attributes)){
                foreach($attributes as $attribute_key=>$attribute_value){
                    $content = str_replace("%%".$attribute_key."%%",$attribute_value,$content);
                }
            }            
            
            if($entry['type'] == "php") {
                //execute the php code
                ob_start();
                $result = eval(" ".$content);
                $output = ob_get_contents();
                ob_end_clean();
                
                return apply_filters('gcb_block_output', do_shortcode($output . $result));//run the shortcodes as well
            }
            elseif($entry['type'] == "html") {   // alloyphoto: enable PHP code in < ?php ... ? > tags inside blocks
                ob_start();
                eval("?>$content<?php ");
                $output = ob_get_contents();
                ob_end_clean();
                
                return apply_filters('gcb_block_output', do_shortcode($output));//run the shortcodes as well
            }
            else {
                return apply_filters('gcb_block_output', do_shortcode($content));//make sure we also run the shortcodes in here
            }
        }
        else
        {   return "";    }
    }
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
global-content-blocks-bk
/
global-content-blocks.php
                    $entries[count($entries)-1]["custom_id"] = (sanitize_title_with_dashes(base64_decode($row[4])));
                } else {
                $entries[count($entries)-1]["custom_id"] = "";
                }      
            }        
            foreach($entries as $e) {      
                gcb::add_entry($e);       
            }            
            return "Imported ".count($entries)." blocks.";            
        } else {
            return "Please Make sure you have a file uploaded.";
        }
    }
    
    function gcb_shortcode_replacer($atts, $content=null, $code="") {
        $a = shortcode_atts( array('id' => 0), $atts );
        
        if((is_numeric($a["id"]) && $a["id"]==0) || (!strlen($a["id"]))) return "";
        
        return gcb($a["id"],$atts);
    }
    
    /*
        * The processing function can also receive a number of arbitrary parameters, that we'll pass along and replace into the content
    */
    function gcb($id,$attributes=array()) {        
        //determine condition, since we can fetch blocks by 2 types of ids
        if(is_numeric($id)) {     
            $entry = gcb::get_entry_by_id(intval($id));
        } else {
            $entry = gcb::get_entry_by_custom_id($id);
        }        
    
        if(is_array($entry)) {            
            $content = htmlspecialchars_decode(stripslashes($entry['value']));
            
            //process the attributes
            if(is_array($attributes)&& count($attributes)){
                foreach($attributes as $attribute_key=>$attribute_value){
                    $content = str_replace("%%".$attribute_key."%%",$attribute_value,$content);
Arguments
  1. "planetary-aspects-in-other-charts"
    
  2. array:4 [
      "id" => "planetary-aspects-in-other-charts"
      "planet1" => "Uranus"
      "aspect" => "Square"
      "planet2" => "Saturn"
    ]
    
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
shortcodes.php
     * Filters whether to call a shortcode callback.
     *
     * Passing a truthy value to the filter will effectively short-circuit the
     * shortcode generation process, returning that value instead.
     *
     * @since 4.7.0
     *
     * @param bool|string $return      Short-circuit return value. Either false or the value to replace the shortcode with.
     * @param string       $tag         Shortcode name.
     * @param array|string $attr        Shortcode attributes array or empty string.
     * @param array        $m           Regular expression match array.
     */
    $return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
    if ( false !== $return ) {
        return $return;
    }
 
    $content = isset( $m[5] ) ? $m[5] : null;
 
    $output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
 
    /**
     * Filters the output created by a shortcode callback.
     *
     * @since 4.7.0
     *
     * @param string       $output Shortcode output.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or empty string.
     * @param array        $m      Regular expression match array.
     */
    return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );
}
 
/**
 * Search only inside HTML elements for shortcodes and process them.
 *
 * Any [ or ] characters remaining inside elements will be HTML encoded
 * to prevent interference with shortcodes that are outside the elements.
 * Assumes $content processed by KSES already.  Users with unfiltered_html
Arguments
  1. array:4 [
      "id" => "planetary-aspects-in-other-charts"
      "planet1" => "Uranus"
      "aspect" => "Square"
      "planet2" => "Saturn"
    ]
    
  2. ""
    
  3. "contentblock"
    
[internal]
Arguments
  1. array:7 [
      0 => "[contentblock id="planetary-aspects-in-other-charts" planet1="Uranus" aspect="Square" planet2="Saturn"]"
      1 => ""
      2 => "contentblock"
      3 => " id="planetary-aspects-in-other-charts" planet1="Uranus" aspect="Square" planet2="Saturn""
      4 => ""
      5 => ""
      6 => ""
    ]
    
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
shortcodes.php
 
    if ( false === strpos( $content, '[' ) ) {
        return $content;
    }
 
    if (empty($shortcode_tags) || !is_array($shortcode_tags))
        return $content;
 
    // Find all registered tag names in $content.
    preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $content, $matches );
    $tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] );
 
    if ( empty( $tagnames ) ) {
        return $content;
    }
 
    $content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
 
    $pattern = get_shortcode_regex( $tagnames );
    $content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
 
    // Always restore square braces so we don't break things like <!--[if IE ]>
    $content = unescape_invalid_shortcodes( $content );
 
    return $content;
}
 
/**
 * Retrieve the shortcode regular expression for searching.
 *
 * The regular expression combines the shortcode tags in the regular expression
 * in a regex class.
 *
 * The regular expression contains 6 different sub matches to help with parsing.
 *
 * 1 - An extra [ to allow for escaping shortcodes with double [[]]
 * 2 - The shortcode name
 * 3 - The shortcode argument list
 * 4 - The self closing /
 * 5 - The content of a shortcode when it wraps some content.
Arguments
  1. "/\[(\[?)(contentblock|wpv\-post\-title|types)(?![\w-])([^\]\/]*(?:\/(?!\])[^\]\/]*)*?)(?:(\/)\]|\](?:([^\[]*+(?:\[(?!\/\2\])[^\[]*+)*+)\[\/\2\])?)(\]?)/"
    
  2. "do_shortcode_tag"
    
  3. """
    \n
    \t\t  <div class="planet-aspect-item">\n
              <h3 class="planet-combination"><a href="https://new.theastrologer.com/planetary-aspects/uranus-square-saturn-tt/"><span class="heading-glyphs"><img src="/wp-content/uploads/images/glyphs/Uranus.png" /><img src="/wp-content/uploads/images/glyphs/Square.png" /><img src="/wp-content/uploads/images/glyphs/Saturn.png" /></span> [wpv-post-title]</a></h3>\n
              <h2 class="planet-combination-heading"><a href="https://new.theastrologer.com/planetary-aspects/uranus-square-saturn-tt/">[types field='ta_report_heading'][/types]</a></h2>\n
              <p><strong>Keywords:</strong> [types field='ta_report_keywords'][/types]</p>\n
              <!--  <strong>Frequency:</strong> &#91;types field='ta_report_frequency'&#93;&#91;/types&#93;. <strong>Duration:</strong> &#91;types field='ta_report_duration'&#93;&#91;/types&#93;. -->\n
              <p><img class="post-image stay-small" src="/wp-content/uploads/images/transits/uranus_square_saturn150x150.jpg" />[types field='ta_report_long'][/types]</p>\n
              [contentblock id="planetary-aspects-in-other-charts" planet1="Uranus" aspect="Square" planet2="Saturn"]\n
              </div>\n
    \t\t
    """
    
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
wp-views
/
embedded
/
inc
/
wpv-shortcodes.php
        $out = $queried_object->parent;
    }
    if ( $info === 'count' ){
        $out = $queried_object->count;
    }
    apply_filters('wpv_shortcode_debug','wpv-taxonomy-archive', json_encode($atts), '', 'Data received from cache.', $out);
    return $out;
}

function wpv_do_shortcode($content) {

  $content = apply_filters('wpv-pre-do-shortcode', $content);

  // HACK HACK HACK
  // fix up a problem where shortcodes are not handled
  // correctly by WP when there a next to each other

  $content = str_replace('][', ']###SPACE###[', $content);
  $content = str_replace(']###SPACE###[/', '][/', $content);
  $content = do_shortcode($content);
  $content = str_replace('###SPACE###', '', $content);

  return $content;
}

add_shortcode('wpv-filter-order', 'wpv_filter_shortcode_order');
function wpv_filter_shortcode_order($atts){
    extract(
        shortcode_atts( array(), $atts )
    );

    global $WP_Views;
    $view_settings = $WP_Views->get_view_settings();

    $view_settings = apply_filters( 'wpv_filter_wpv_apply_post_view_sorting', $view_settings, $view_settings, null );
    $order_selected = $view_settings['order'];

    $orders = array('DESC', 'ASC');
    return wpv_filter_show_user_interface('wpv_order', $orders, $order_selected, $atts['style']);
}
Arguments
  1. """
    \n
    \t\t  <div class="planet-aspect-item">\n
              <h3 class="planet-combination"><a href="https://new.theastrologer.com/planetary-aspects/uranus-square-saturn-tt/"><span class="heading-glyphs"><img src="/wp-content/uploads/images/glyphs/Uranus.png" /><img src="/wp-content/uploads/images/glyphs/Square.png" /><img src="/wp-content/uploads/images/glyphs/Saturn.png" /></span> [wpv-post-title]</a></h3>\n
              <h2 class="planet-combination-heading"><a href="https://new.theastrologer.com/planetary-aspects/uranus-square-saturn-tt/">[types field='ta_report_heading'][/types]</a></h2>\n
              <p><strong>Keywords:</strong> [types field='ta_report_keywords'][/types]</p>\n
              <!--  <strong>Frequency:</strong> &#91;types field='ta_report_frequency'&#93;&#91;/types&#93;. <strong>Duration:</strong> &#91;types field='ta_report_duration'&#93;&#91;/types&#93;. -->\n
              <p><img class="post-image stay-small" src="/wp-content/uploads/images/transits/uranus_square_saturn150x150.jpg" />[types field='ta_report_long'][/types]</p>\n
              [contentblock id="planetary-aspects-in-other-charts" planet1="Uranus" aspect="Square" planet2="Saturn"]\n
              </div>\n
    \t\t
    """
    
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
wp-views
/
embedded
/
inc
/
wpv.class.php
                                $this->variables = array();
                                do_action( 'wpv-before-display-post', $post, $view_id );
                                break;
                            case 'taxonomy':
                                $this->taxonomy_data['term'] = $items[ $i ];
                                do_action( 'wpv-before-display-taxonomy', $items[ $i ], $view_id );
                                break;
                            case 'users':
                                $user_id = $items[ $i ]->ID;
                                $user_meta = get_user_meta( $user_id );
                                $items[ $i ]->meta = $user_meta;
                                $this->users_data['term'] = $items[ $i ];
                                do_action( 'wpv-before-display-user', $items[ $i ], $view_id );
                                break;
                        }
 
                        $WPVDebug->add_log( $query_type , $items[ $i ] );
 
                        // first output the "all" index.
                        $shortcodes_output = wpv_do_shortcode( $item_indexes['all'] );
                        $loop .= $shortcodes_output;
                        $WPVDebug->add_log_item( 'shortcodes', $item_indexes['all'] );
                        $WPVDebug->add_log_item( 'output', $shortcodes_output );
 
                        /* Select a template for this item based on it's index.
                         * Note: It is possible that we won't be rendering this item's content if the index 'other'
                         * isn't set and there is no other match. */
                        $selected_index = null;
                        if ( isset( $item_indexes[ $index ] ) ) {
                            // First, set numeric templates
                            $selected_index = $index;
                        } elseif (
                            (int) $index === $items_count &&
                            isset( $item_indexes['last'] )
                        ) {
                            // Then, set the template for the last element
                            $selected_index = 'last';
                        } else {
                            // Else, set specific templates based on cases
                            $index_data = array(
Arguments
  1. """
    \n
    \t\t  <div class="planet-aspect-item">\n
              <h3 class="planet-combination"><a href="https://new.theastrologer.com/planetary-aspects/uranus-square-saturn-tt/"><span class="heading-glyphs"><img src="/wp-content/uploads/images/glyphs/Uranus.png" /><img src="/wp-content/uploads/images/glyphs/Square.png" /><img src="/wp-content/uploads/images/glyphs/Saturn.png" /></span> [wpv-post-title]</a></h3>\n
              <h2 class="planet-combination-heading"><a href="https://new.theastrologer.com/planetary-aspects/uranus-square-saturn-tt/">[types field='ta_report_heading'][/types]</a></h2>\n
              <p><strong>Keywords:</strong> [types field='ta_report_keywords'][/types]</p>\n
              <!--  <strong>Frequency:</strong> [types field='ta_report_frequency'][/types]. <strong>Duration:</strong> [types field='ta_report_duration'][/types]. -->\n
              <p><img class="post-image stay-small" src="/wp-content/uploads/images/transits/uranus_square_saturn150x150.jpg" />[types field='ta_report_long'][/types]</p>\n
              [contentblock id="planetary-aspects-in-other-charts" planet1="Uranus" aspect="Square" planet2="Saturn"]\n
              </div>\n
    \t\t
    """
    
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
wp-views
/
embedded
/
inc
/
wpv.class.php
 
        // save original users if any
        $tmp_parent_user = $this->parent_user;
        if ( isset( $this->users_data['term'] ) ) {
            $this->parent_user = $this->users_data['term']->ID;
        } else {
            if (
                $this->parent_user
                && isset( $_GET['wpv_aux_parent_user_id'] )
                && is_numeric( $_GET['wpv_aux_parent_user_id'] )
                && $_GET['wpv_aux_parent_user_id'] == $this->parent_user
            ) {
                $this->parent_user = intval( $_GET['wpv_aux_parent_user_id'] );
            } else {
                $this->parent_user = 0;
            }
        }
        $tmp_users_data = $this->users_data;
 
        $out =  $this->render_view( $id, $hash );
 
        if (
            $post_exists
            && $this->is_archive_view( $id )
        ) {
            /**
            * On WPAs, the global $post is valid inside the <wpv-loop></wpv-loop> loop, since each post sets its global,
            * but outside that loop, the global $post was defaulting to the first post in the global $wp_query.
            *
            * It caused that Views used outside the loop with "Don't include current page in query result" turned on
            * were not including the first result, when they should.
            *
            * So we need to temporarily unset the global $post when expanding shortcodes outside the loop on WPA.
            * To avoid problems with date-based archive pages and the [wpv-archive-title] shortcode, we must keep the object and its date,
            * hence we just modify the global $post properties to use the WPA ones instead.
            *
            * @since 1.10
            * @updated 1.11
            * @since 2.0        Do not use 'view' as post_type since Views rendered outside the wpv-loop and using a CT loop will fail to render it:
            *                     The wpv-post-body shortcode stops rendering when the curent post has a post_type of 'view' or 'view-template'
Arguments
  1. "43044"
    
  2. "59ad335d48c67402d47772d86514eae1"
    
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
plugins
/
wp-views
/
embedded
/
inc
/
wpv.class.php
 
            // Is it cached?
            $cached_output_index = get_option( 'wpv_transient_view_index', array() );
            $is_cached = isset( $cached_output_index[$cache_id] ) && $cached_output_index[$cache_id];
 
            if( $is_cached ) {
 
                $trasient = 'wpv_transient_view_'.$cache_id; // strlen() <= 45
                $cached_output = get_transient( $trasient );
                if( $cached_output !== false ) {
                    array_pop( $this->view_shortcode_attributes );
                    return apply_filters( 'wpv_filter_wpv_view_shortcode_output', $cached_output, $id );
                }
                // We should not reach this line if everything is working fine
                // But if not, let's continue
            }
 
        }
 
        $out = $this->render_view_ex( $id, md5( serialize( $atts ) ) );
 
        array_pop( $this->view_shortcode_attributes );
 
        // Update Views cache if applicable
        if ( $is_cacheable ) {
 
            // Update Views Loop Content Cache
            $trasient = 'wpv_transient_view_'.$cache_id;
            $is_stored = set_transient( $trasient, $out, DAY_IN_SECONDS );
 
            // Update Views Loop Index
            if( $is_stored === true ) {
                $cached_output_index = get_option( 'wpv_transient_view_index', array() );
                $cached_output_index[$cache_id] = true;
                update_option( 'wpv_transient_view_index', $cached_output_index );
            }
        }
 
        $out = apply_filters( 'wpv_filter_wpv_view_shortcode_output', $out, $id );
 
Arguments
  1. "43044"
    
  2. "59ad335d48c67402d47772d86514eae1"
    
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
shortcodes.php
     * Filters whether to call a shortcode callback.
     *
     * Passing a truthy value to the filter will effectively short-circuit the
     * shortcode generation process, returning that value instead.
     *
     * @since 4.7.0
     *
     * @param bool|string $return      Short-circuit return value. Either false or the value to replace the shortcode with.
     * @param string       $tag         Shortcode name.
     * @param array|string $attr        Shortcode attributes array or empty string.
     * @param array        $m           Regular expression match array.
     */
    $return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
    if ( false !== $return ) {
        return $return;
    }
 
    $content = isset( $m[5] ) ? $m[5] : null;
 
    $output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
 
    /**
     * Filters the output created by a shortcode callback.
     *
     * @since 4.7.0
     *
     * @param string       $output Shortcode output.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or empty string.
     * @param array        $m      Regular expression match array.
     */
    return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );
}
 
/**
 * Search only inside HTML elements for shortcodes and process them.
 *
 * Any [ or ] characters remaining inside elements will be HTML encoded
 * to prevent interference with shortcodes that are outside the elements.
 * Assumes $content processed by KSES already.  Users with unfiltered_html
Arguments
  1. array:3 [
      "name" => "planetary-aspects-content"
      "planet1" => "Uranus"
      "planet2" => "Saturn"
    ]
    
  2. ""
    
  3. "wpv-view"
    
[internal]
Arguments
  1. array:7 [
      0 => "[wpv-view name="planetary-aspects-content" planet1="Uranus" planet2="Saturn"]"
      1 => ""
      2 => "wpv-view"
      3 => " name="planetary-aspects-content" planet1="Uranus" planet2="Saturn""
      4 => ""
      5 => ""
      6 => ""
    ]
    
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
shortcodes.php
 
    if ( false === strpos( $content, '[' ) ) {
        return $content;
    }
 
    if (empty($shortcode_tags) || !is_array($shortcode_tags))
        return $content;
 
    // Find all registered tag names in $content.
    preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $content, $matches );
    $tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] );
 
    if ( empty( $tagnames ) ) {
        return $content;
    }
 
    $content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
 
    $pattern = get_shortcode_regex( $tagnames );
    $content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
 
    // Always restore square braces so we don't break things like <!--[if IE ]>
    $content = unescape_invalid_shortcodes( $content );
 
    return $content;
}
 
/**
 * Retrieve the shortcode regular expression for searching.
 *
 * The regular expression combines the shortcode tags in the regular expression
 * in a regex class.
 *
 * The regular expression contains 6 different sub matches to help with parsing.
 *
 * 1 - An extra [ to allow for escaping shortcodes with double [[]]
 * 2 - The shortcode name
 * 3 - The shortcode argument list
 * 4 - The self closing /
 * 5 - The content of a shortcode when it wraps some content.
Arguments
  1. "/\[(\[?)(wpv\-view)(?![\w-])([^\]\/]*(?:\/(?!\])[^\]\/]*)*?)(?:(\/)\]|\](?:([^\[]*+(?:\[(?!\/\2\])[^\[]*+)*+)\[\/\2\])?)(\]?)/"
    
  2. "do_shortcode_tag"
    
  3. "[wpv-view name="planetary-aspects-content" planet1="Uranus" planet2="Saturn"]\n"
    
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
class-wp-hook.php
        }
 
        $nesting_level = $this->nesting_level++;
 
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
        $num_args = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = $priority = current( $this->iterations[ $nesting_level ] );
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if( ! $this->doing_action ) {
                    $args[ 0 ] = $value;
                }
 
                // Avoid the array_slice if possible.
                if ( $the_['accepted_args'] == 0 ) {
                    $value = call_user_func_array( $the_['function'], array() );
                } elseif ( $the_['accepted_args'] >= $num_args ) {
                    $value = call_user_func_array( $the_['function'], $args );
                } else {
                    $value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int)$the_['accepted_args'] ) );
                }
            }
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Executes the callback functions hooked on a specific action hook.
     *
     * @since 4.7.0
     *
     * @param mixed $args Arguments to pass to the hook callbacks.
Arguments
  1. "[wpv-view name="planetary-aspects-content" planet1="Uranus" planet2="Saturn"]\n"
    
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
plugin.php
        $args = func_get_args();
        _wp_call_all_hook($args);
    }
 
    if ( !isset($wp_filter[$tag]) ) {
        if ( isset($wp_filter['all']) )
            array_pop($wp_current_filter);
        return $value;
    }
 
    if ( !isset($wp_filter['all']) )
        $wp_current_filter[] = $tag;
 
    if ( empty($args) )
        $args = func_get_args();
 
    // don't pass the tag name to WP_Hook
    array_shift( $args );
 
    $filtered = $wp_filter[ $tag ]->apply_filters( $value, $args );
 
    array_pop( $wp_current_filter );
 
    return $filtered;
}
 
/**
 * Execute functions hooked on a specific filter hook, specifying arguments in an array.
 *
 * @since 3.0.0
 *
 * @see apply_filters() This function is identical, but the arguments passed to the
 * functions hooked to `$tag` are supplied using an array.
 *
 * @global array $wp_filter         Stores all of the filters
 * @global array $wp_current_filter Stores the list of current filters with the current one last
 *
 * @param string $tag  The name of the filter hook.
 * @param array  $args The arguments supplied to the functions hooked to $tag.
 * @return mixed The filtered value after all hooked functions are applied to it.
Arguments
  1. "[wpv-view name="planetary-aspects-content" planet1="Uranus" planet2="Saturn"]\n"
    
  2. array:1 [
      0 => "[wpv-view name="planetary-aspects-content" planet1="Uranus" planet2="Saturn"]\n"
    ]
    
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
post-template.php
 
/**
 * Display the post content.
 *
 * @since 0.71
 *
 * @param string $more_link_text Optional. Content for when there is more text.
 * @param bool   $strip_teaser   Optional. Strip teaser content before the more text. Default is false.
 */
function the_content( $more_link_text = null, $strip_teaser = false) {
    $content = get_the_content( $more_link_text, $strip_teaser );
 
    /**
     * Filters the post content.
     *
     * @since 0.71
     *
     * @param string $content Content of the current post.
     */
    $content = apply_filters( 'the_content', $content );
    $content = str_replace( ']]>', ']]&gt;', $content );
    echo $content;
}
 
/**
 * Retrieve the post content.
 *
 * @since 0.71
 *
 * @global int   $page      Page number of a single post/page.
 * @global int   $more      Boolean indicator for whether single post/page is being viewed.
 * @global bool  $preview   Whether post/page is in preview mode.
 * @global array $pages     Array of all pages in post/page. Each array element contains part of the content separated by the <!--nextpage--> tag.
 * @global int   $multipage Boolean indicator for whether multiple pages are in play.
 *
 * @param string $more_link_text Optional. Content for when there is more text.
 * @param bool   $strip_teaser   Optional. Strip teaser content before the more text. Default is false.
 * @return string
 */
function get_the_content( $more_link_text = null, $strip_teaser = false ) {
Arguments
  1. "the_content"
    
  2. "[wpv-view name="planetary-aspects-content" planet1="Uranus" planet2="Saturn"]"
    
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
themes
/
bb-theme-child
/
content-page.php
        <?php if (is_front_page()) : ?>
        <h1 class="fl-post-title" itemprop="headline"><?php the_title(); ?></h1>
        <?php edit_post_link(__('Edit', 'fl-automator')); ?>
        <?php endif; ?>
        <?php if ( ! is_page( array( 55088, 62301, 62302, 62303, 62304, 62313, 62314 ) ) ) : ?>
            <?php
            global $mobile_smart;
            if ($mobile_smart->switcher_isMobile()) : ?>
                <?php echo gcb(110); ?>
            <?php endif; ?>
        <?php endif; ?>
        <?php if (!is_front_page()) : ?>
        <h1 class="fl-post-title" itemprop="headline"><?php the_title(); ?></h1>
        <?php edit_post_link(__('Edit', 'fl-automator')); ?>
        <?php endif; ?>
    </header><!-- .fl-post-header -->
    
    <div class="fl-post-content clearfix" itemprop="text">
        <?php 
            the_content(); 
        
            wp_link_pages(array(
                'before' => '<div class="fl-post-page-nav">' . __('Pages:', 'fl-automator'), 
                'after' => '</div>', 
                'next_or_number' => 'number'
            ));
        ?>
    </div><!-- .fl-post-content -->
 
    <div class="row">
        <div class="col-md-8">    
            <?php comments_template(); ?>
        </div>
        <div class="col-md-4">    
        </div>
    </div>
    
</article>
<!-- .fl-post -->
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
template.php
 * @global int        $user_ID
 *
 * @param string $_template_file Path to template file.
 * @param bool   $require_once   Whether to require_once or require. Default true.
 */
function load_template( $_template_file, $require_once = true ) {
    global $posts, $post, $wp_did_header, $wp_query, $wp_rewrite, $wpdb, $wp_version, $wp, $id, $comment, $user_ID;
 
    if ( is_array( $wp_query->query_vars ) ) {
        extract( $wp_query->query_vars, EXTR_SKIP );
    }
 
    if ( isset( $s ) ) {
        $s = esc_attr( $s );
    }
 
    if ( $require_once ) {
        require_once( $_template_file );
    } else {
        require( $_template_file );
    }
}
 
Arguments
  1. "/www/newtheastrologercom_455/public/wp-content/themes/bb-theme-child/content-page.php"
    
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
template.php
 */
function locate_template($template_names, $load = false, $require_once = true ) {
    $located = '';
    foreach ( (array) $template_names as $template_name ) {
        if ( !$template_name )
            continue;
        if ( file_exists(STYLESHEETPATH . '/' . $template_name)) {
            $located = STYLESHEETPATH . '/' . $template_name;
            break;
        } elseif ( file_exists(TEMPLATEPATH . '/' . $template_name) ) {
            $located = TEMPLATEPATH . '/' . $template_name;
            break;
        } elseif ( file_exists( ABSPATH . WPINC . '/theme-compat/' . $template_name ) ) {
            $located = ABSPATH . WPINC . '/theme-compat/' . $template_name;
            break;
        }
    }
 
    if ( $load && '' != $located )
        load_template( $located, $require_once );
 
    return $located;
}
 
/**
 * Require the template file with WordPress environment.
 *
 * The globals are set up for the template file to ensure that the WordPress
 * environment is available from within the function. The query variables are
 * also available.
 *
 * @since 1.5.0
 *
 * @global array      $posts
 * @global WP_Post    $post
 * @global bool       $wp_did_header
 * @global WP_Query   $wp_query
 * @global WP_Rewrite $wp_rewrite
 * @global wpdb       $wpdb
 * @global string     $wp_version
Arguments
  1. "/www/newtheastrologercom_455/public/wp-content/themes/bb-theme-child/content-page.php"
    
  2. false
    
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
general-template.php
     * Fires before the specified template part file is loaded.
     *
     * The dynamic portion of the hook name, `$slug`, refers to the slug name
     * for the generic template part.
     *
     * @since 3.0.0
     *
     * @param string      $slug The slug name for the generic template.
     * @param string|null $name The name of the specialized template.
     */
    do_action( "get_template_part_{$slug}", $slug, $name );
 
    $templates = array();
    $name = (string) $name;
    if ( '' !== $name )
        $templates[] = "{$slug}-{$name}.php";
 
    $templates[] = "{$slug}.php";
 
    locate_template($templates, true, false);
}
 
/**
 * Display search form.
 *
 * Will first attempt to locate the searchform.php file in either the child or
 * the parent, then load it. If it doesn't exist, then the default search form
 * will be displayed. The default search form is HTML, which will be displayed.
 * There is a filter applied to the search form HTML in order to edit or replace
 * it. The filter is {@see 'get_search_form'}.
 *
 * This function is primarily used by themes which want to hardcode the search
 * form into the sidebar and also by the search widget in WordPress.
 *
 * There is also an action that is called whenever the function is run called,
 * {@see 'pre_get_search_form'}. This can be useful for outputting JavaScript that the
 * search relies on or various formatting that applies to the beginning of the
 * search. To give a few examples of what it can be used for.
 *
 * @since 2.7.0
Arguments
  1. array:2 [
      0 => "content-page.php"
      1 => "content.php"
    ]
    
  2. true
    
  3. false
    
/
www
/
newtheastrologercom_455
/
public
/
wp-content
/
themes
/
bb-theme
/
tpl-sidebar.php
<?php
 
/*
Template Name: Sidebar
*/
 
get_header();
 
?>
 
<div class="container">
    <div class="row">
        
        <?php FLTheme::sidebar( 'left' ); ?>
        
        <div class="fl-content <?php FLTheme::content_class(); ?>">
            <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
                <?php get_template_part( 'content', 'page' ); ?>
            <?php endwhile;
endif; ?>
        </div>
        
        <?php FLTheme::sidebar( 'right' ); ?>
        
    </div>
</div>
 
<?php get_footer(); ?>
 
Arguments
  1. "content"
    
  2. "page"
    
/
www
/
newtheastrologercom_455
/
public
/
wp-includes
/
template-loader.php
    elseif ( is_single()         && $template = get_single_template()         ) :
    elseif ( is_page()           && $template = get_page_template()           ) :
    elseif ( is_singular()       && $template = get_singular_template()       ) :
    elseif ( is_category()       && $template = get_category_template()       ) :
    elseif ( is_tag()            && $template = get_tag_template()            ) :
    elseif ( is_author()         && $template = get_author_template()         ) :
    elseif ( is_date()           && $template = get_date_template()           ) :
    elseif ( is_archive()        && $template = get_archive_template()        ) :
    else :
        $template = get_index_template();
    endif;
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    if ( $template = apply_filters( 'template_include', $template ) ) {
        include( $template );
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
endif;
 
Arguments
  1. "/www/newtheastrologercom_455/public/wp-content/themes/bb-theme/tpl-sidebar.php"
    
/
www
/
newtheastrologercom_455
/
public
/
wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( !isset($wp_did_header) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once( dirname(__FILE__) . '/wp-load.php' );
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once( ABSPATH . WPINC . '/template-loader.php' );
 
}
 
Arguments
  1. "/www/newtheastrologercom_455/public/wp-includes/template-loader.php"
    
/
www
/
newtheastrologercom_455
/
public
/
index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);
 
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
 
Arguments
  1. "/www/newtheastrologercom_455/public/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"nginx/1.21.5"
REQUEST_URI
"/planetary-aspects/uranus-saturn/"
USER
"newtheastrologercom"
HOME
"/www/newtheastrologercom_455"
HTTP_CF_WORKER
"kinsta.cloud"
HTTP_X_KINSTA_EDGE_LB
"KCW"
HTTP_X_KINSTA_EDGE_INCOMINGIP
"3.238.199.4"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_DEVICE_TYPE
"desktop"
HTTP_CF_CONNECTING_IP
"3.238.199.4"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_CDN_LOOP
"cloudflare; subreqs=1"
HTTP_CF_EW_VIA
"15"
HTTP_CF_VISITOR
"{\"scheme\":\"https\"}"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_CF_RAY
"751d9e04512305eb-IAD"
HTTP_X_FORWARDED_FOR
"3.238.199.4"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_CONNECTION
"Keep-Alive"
SCRIPT_FILENAME
"/www/newtheastrologercom_455/public/index.php"
REDIRECT_STATUS
"200"
WP_ENVIRONMENT_TYPE
"production"
KINSTA_CACHE_ZONE
"KINSTAWP"
SERVER_NAME
"new.theastrologer.com"
SERVER_PORT
"443"
SERVER_ADDR
"10.0.10.34"
REMOTE_PORT
""
REMOTE_ADDR
"3.238.199.4"
GATEWAY_INTERFACE
"CGI/1.1"
HTTP_HOST
"new.theastrologer.com"
HTTPS
"on"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/www/newtheastrologercom_455/public"
DOCUMENT_URI
"/index.php"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
"1664380043.0598"
REQUEST_TIME
"1664380043"
empty
0. Whoops\Handler\PrettyPageHandler