Whoops \ Exception \ ErrorException (E_WARNING)
Use of undefined constant fad_ore - assumed 'fad_ore' (this will throw an Error in a future version of PHP) Whoops\Exception\ErrorException thrown with message "Use of undefined constant fad_ore - assumed 'fad_ore' (this will throw an Error in a future version of PHP)" Stacktrace: #18 Whoops\Exception\ErrorException in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/insert-php/includes/shortcodes/shortcode-php.php:52 #17 Whoops\Run:handleError in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/insert-php/includes/shortcodes/shortcode-php.php:52 #16 eval in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/insert-php/includes/shortcodes/shortcode-php.php:52 #15 WINP_SnippetShortcodePhp:html in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/insert-php/libs/factory/shortcodes/shortcode.class.php:287 #14 Wbcr_FactoryShortcodes333_Shortcode:render in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/insert-php/libs/factory/shortcodes/shortcodes.php:96 #13 Wbcr_FactoryShortcodes333_ShortcodeManager:__call in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/shortcodes.php:355 #12 do_shortcode_tag in [internal]:0 #11 preg_replace_callback in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/shortcodes.php:227 #10 do_shortcode in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-structured-data.php:203 #9 WC_Structured_Data:generate_product_data in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/class-wp-hook.php:308 #8 WP_Hook:apply_filters in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/class-wp-hook.php:332 #7 WP_Hook:do_action in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/plugin.php:517 #6 do_action in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/woocommerce/content-single-product.php:221 #5 require in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/template.php:785 #4 load_template in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php:284 #3 wc_get_template_part in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/woocommerce/templates/single-product.php:37 #2 include in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/template-loader.php:106 #1 require_once in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-blog-header.php:19 #0 require in /var/www/vhosts/confeuropacademy.org/httpdocs/index.php:17
Stack frames (19)
18
Whoops
\
Exception
\
ErrorException
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
includes
/
shortcodes
/
shortcode-php.php
52
17
Whoops
\
Run
handleError
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
includes
/
shortcodes
/
shortcode-php.php
52
16
eval
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
includes
/
shortcodes
/
shortcode-php.php
52
15
WINP_SnippetShortcodePhp
html
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
libs
/
factory
/
shortcodes
/
shortcode.class.php
287
14
Wbcr_FactoryShortcodes333_Shortcode
render
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
libs
/
factory
/
shortcodes
/
shortcodes.php
96
13
Wbcr_FactoryShortcodes333_ShortcodeManager
__call
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
shortcodes.php
355
12
do_shortcode_tag
[internal]
0
11
preg_replace_callback
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
shortcodes.php
227
10
do_shortcode
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
includes
/
class-wc-structured-data.php
203
9
WC_Structured_Data
generate_product_data
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
class-wp-hook.php
308
8
WP_Hook
apply_filters
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
class-wp-hook.php
332
7
WP_Hook
do_action
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
plugin.php
517
6
do_action
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
woocommerce
/
content-single-product.php
221
5
require
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
template.php
785
4
load_template
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
includes
/
wc-core-functions.php
284
3
wc_get_template_part
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
templates
/
single-product.php
37
2
include
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
template-loader.php
106
1
require_once
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-blog-header.php
19
0
require
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
index.php
17
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
includes
/
shortcodes
/
shortcode-php.php
        if ( ! $snippet || empty( $snippet_meta ) ) {
            return;
        }

        $attr = $this->filterAttributes( $attr, $id );

        // Let users pass arbitrary variables, through shortcode attributes.
        // @since 2.0.5
        extract( $attr, EXTR_SKIP );

        $is_activate     = $this->getSnippetActivate( $snippet_meta );
        $snippet_scope   = $this->getSnippetScope( $snippet_meta );
        $snippet_content = $this->getSnippetContent( $snippet, $snippet_meta, $id );

        if ( ! $is_activate || empty( $snippet_content ) || $snippet_scope != 'shortcode' || WINP_Helper::is_safe_mode() ) {
            return;
        }

        eval( $snippet_content );
    }

}
Arguments
  1. "Use of undefined constant fad_ore - assumed 'fad_ore' (this will throw an Error in a future version of PHP)"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
includes
/
shortcodes
/
shortcode-php.php
        if ( ! $snippet || empty( $snippet_meta ) ) {
            return;
        }

        $attr = $this->filterAttributes( $attr, $id );

        // Let users pass arbitrary variables, through shortcode attributes.
        // @since 2.0.5
        extract( $attr, EXTR_SKIP );

        $is_activate     = $this->getSnippetActivate( $snippet_meta );
        $snippet_scope   = $this->getSnippetScope( $snippet_meta );
        $snippet_content = $this->getSnippetContent( $snippet, $snippet_meta, $id );

        if ( ! $is_activate || empty( $snippet_content ) || $snippet_scope != 'shortcode' || WINP_Helper::is_safe_mode() ) {
            return;
        }

        eval( $snippet_content );
    }

}
Arguments
  1. 2
    
  2. "Use of undefined constant fad_ore - assumed 'fad_ore' (this will throw an Error in a future version of PHP)"
    
  3. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/insert-php/includes/shortcodes/shortcode-php.php(52) : eval()'d code"
    
  4. 57
    
  5. array:19 [
      "attr" => array:3 [
        "id" => "1127"
        "iddo" => "324"
        "tutto" => "0"
      ]
      "content" => ""
      "tag" => "wbcr_php_snippet"
      "id" => 1127
      "snippet" => WP_Post {}
      "snippet_meta" => array:15 [
        "_edit_lock" => array:1 [
          0 => "1625825250:2"
        ]
        "_edit_last" => array:1 [
          0 => "2"
        ]
        "dfiFeatured" => array:1 [
          0 => "a:1:{i:0;s:0:"";}"
        ]
        "rs_page_bg_color" => array:1 [
          0 => ""
        ]
        "wbcr_inp_snippet_location" => array:1 [
          0 => "header"
        ]
        "wbcr_inp_snippet_type" => array:1 [
          0 => "php"
        ]
        "wbcr_inp_snippet_linking" => array:1 [
          0 => ""
        ]
        "wbcr_inp_snippet_priority" => array:1 [
          0 => "320"
        ]
        "wbcr_inp_snippet_filters" => array:1 [
          0 => ""
        ]
        "wbcr_inp_changed_filters" => array:1 [
          0 => "0"
        ]
        "wbcr_inp_snippet_activate" => array:1 [
          0 => "1"
        ]
        "wbcr_inp_snippet_scope" => array:1 [
          0 => "shortcode"
        ]
        "wbcr_inp_snippet_custom_name" => array:1 [
          0 => ""
        ]
        "wbcr_inp_snippet_description" => array:1 [
          0 => ""
        ]
        "wbcr_inp_snippet_tags" => array:1 [
          0 => "iddo,tutto,programmas"
        ]
      ]
      "is_activate" => true
      "snippet_scope" => "shortcode"
      "snippet_content" => """
        $servername = "85.94.218.162";\r\n
        $username = "wp123";\r\n
        $password = "0nl1n3@1982";\r\n
        $dbname = "confeuronew";\r\n
        \r\n
        /*$conn = new mysqli($servername, $username, $password, $dbname);\r\n
        if ($conn->connect_error) {\r\n
            die("Connection failed: " . $conn->connect_error);\r\n
        } \r\n
        */\r\n
        \r\n
        \r\n
        $nConnection = mysqli_connect($servername,$username, $password);\r\n
        mysqli_select_db($nConnection,$dbname);\r\n
        //mysqli_query($nConnection,"SET CHARACTER SET utf8 ");\r\n
        \r\n
        $sql = "SELECT * FROM fad_corsi where idfad=".$iddo;\r\n
        $rs=mysqli_query($nConnection,$sql);\r\n
        $row=mysqli_fetch_array($rs,MYSQLI_BOTH);\r\n
        \r\n
        \r\n
        \r\n
        switch ($programmas)\r\n
        {\r\n
        \tcase 1:\t\t\techo nl2br($row[fad_programma]);\r\n
        \t\t\t\t\tbreak;\r\n
        \tcase 2:\t\t\t?>\r\n
        \t\t\t\t\tPer l'utilizzo dei corsi in modalità e-Learning è sufficente un computer, notebook, smartphone o tablet aggiornato e con una connessione a internet.<BR>\r\n
        \t\t\t\t\t\t\tI corsi sono disponibili 24/24h durante l'intero periodo di attivazione e possono essere svolti anche in sessioni multiple, senza perdere lo stato di avanzamento.<BR><BR>\r\n
        \t\t\t\t\t\t\tPer i corsi che prevedono la videoconferenza con il docente, sarà necessario collegarsi nelle modalità fornite e negli orari specifici indicati.\t\t\r\n
        \t\t\t\t\t<?php\r\n
        \t\t\t\t\tbreak;\r\n
        \tdefault:\t\r\n
        \tif ($tutto==1)\r\n
        \t{\t?>\r\n
        \t\t<ul><?php if ($row[fad_info]) { ?>\r\n
        \t\t\t<li><strong>Informazioni</strong>: <?php echo $row[fad_info];?><?php } ?>\r\n
        \t\t\t<?php if ($row["fad_mex1"]) echo "<br>".$row[fad_mex1];?></li>\r\n
        \t\t\t<li><strong>Durata</strong>: <?php echo $row[fad_ore];?><?php ?> ore </li>\r\n
        \t\t\t<li><strong>Riferimenti Legislativi</strong>: <?php echo $row[fad_desc];?></li>\r\n
        \t\t\t<?php if ($row[fad_plus]) { ?>\r\n
        \t\t\t<li><strong>Specifiche</strong>: <?php echo $row[fad_plus];?></li><?php } ?>\r\n
        \t\t\t<?php if ($row[fad_agg]>0) { ?>\r\n
        \t\t\t<li><strong>Aggiornamento</strong>: <?php echo $row[fad_agg];?> anni</li><?php } ?>\r\n
        \t\t\t<li><strong>Codice Corso</strong>: <?php echo $row[fad_short];?></li>\r\n
        \t\t\t<li><strong>Durata del corso</strong>: <?php echo $row[fad_ore];?> ore online</li>\r\n
        \t\t\t<li><?php if ($row[fad_piu]) { echo "Richiede formazione frontale aggiuntiva";} else { echo "Il corso si può svolgere completamente in modalit e-Learning";} ?></li>\r\n
        \t\t\t<li><strong>Metodologia di svolgimento</strong>: Il percorso formativo è utilizzabile per un massimo 4 mesi dalla data di attivazione.\r\n
        \t\t\t\t\t\t<br>Ogni discente ha un accesso personale.<br>\r\n
        \t\t\t\t\t\tIl percorso formativo è suddiviso in materiale di apprendimento con durate minime e tracciatura dello svolgimento. \r\n
        \t\t\t\t\t\tAl termine di ogni passaggio è previsto un test di apprendimento che abilita i passaggi successivi.<br>\r\n
        \t\t\t\t\t\tSolo al termine del corso (superando tutti i test, incluso il test di valutazione finale) è possibile richiedere l'attestato di formazione.\t</li>\r\n
        \t </ul>\r\n
                                            \r\n
        \t<?php\r\n
        \t} else { \r\n
        \t?><strong>Durata</strong>: <?php echo $row[fad_ore];?> ore     <div style="display:block"></div><BR><?\r\n
        \t\techo $row[fad_info]; \r\n
        \t\tif ($row["fad_var"]) echo "<br>".$row[fad_var];\r\n
        \t\techo "<br>";\r\n
        \t\t?><strong>Codice Corso</strong>: <?php echo $row[fad_short];?>\r\n
        \t<?php } //tutto\r\n
        break;\r\n
        } //programma\r\n
        \r\n
        """
      "iddo" => "324"
      "tutto" => "0"
      "servername" => "85.94.218.162"
      "username" => "wp123"
      "password" => "0nl1n3@1982"
      "dbname" => "confeuronew"
      "nConnection" => mysqli {}
      "sql" => "SELECT * FROM fad_corsi where idfad=324"
      "rs" => mysqli_result {}
      "row" => array:106 [
        0 => "324"
        "idfad" => "324"
        1 => "Formazione Specifica Lavoratori - Rischio Basso - Ambito Sanità"
        "fad_nome" => "Formazione Specifica Lavoratori - Rischio Basso - Ambito Sanità"
        2 => """
          D.Lgs. 81/2008 art. 37, commi 1 e 2 \r\n
          Accordo Stato Regioni 21/12/2011- Punto 9
          """
        "fad_desc" => """
          D.Lgs. 81/2008 art. 37, commi 1 e 2 \r\n
          Accordo Stato Regioni 21/12/2011- Punto 9
          """
        3 => null
        "fad_desc2" => null
        4 => "25"
        "fad_prezzo" => "25"
        5 => "4"
        "fad_ore" => "4"
        6 => "0"
        "fad_step" => "0"
        7 => "1"
        "fad_online" => "1"
        8 => "LAV4S RB SAN"
        "fad_short" => "LAV4S RB SAN"
        9 => "0"
        "fad_personal" => "0"
        10 => "_cer_ebi"
        "fad_suffix" => "_cer_ebi"
        11 => "5"
        "fad_agg" => "5"
        12 => ""
        "fad_data" => ""
        13 => ""
        "fad_dove" => ""
        14 => "0"
        "fad_durata" => "0"
        15 => "5"
        "fad_scad" => "5"
        16 => "0"
        "fad_tipo" => "0"
        17 => "1"
        "fad_fax" => "1"
        18 => ""
        "fad_nomeatt" => ""
        19 => ""
        "fad_text" => ""
        20 => "0"
        "fad_piu" => "0"
        21 => "Formazione Specifica Lavoratori - Rischio Basso- Ambito Sanità"
        "fad_nome_vis" => "Formazione Specifica Lavoratori - Rischio Basso- Ambito Sanità"
        22 => "Sicurezza 81.2008 - Lavoratori Sanità"
        "fad_gruppo" => "Sicurezza 81.2008 - Lavoratori Sanità"
        23 => "SICUREZZA "
        "fad_law" => "SICUREZZA "
        24 => null
        "fad_plus" => null
        25 => "51"
        "fad_ord" => "51"
        26 => "165"
        "fad_gruppo_ord" => "165"
        27 => "Dott. Pasquale Minale - C.F. MNLPQL66H11F839Y"
        "fad_docente1" => "Dott. Pasquale Minale - C.F. MNLPQL66H11F839Y"
        28 => "Dott. Pietro Tindaro Ballarino - C.F. BLLPRT75S10F206O"
        "fad_docente2" => "Dott. Pietro Tindaro Ballarino - C.F. BLLPRT75S10F206O"
        29 => null
        "fad_requisiti" => null
        30 => "3"
        "fad_tipoatt" => "3"
        31 => "1"
        "fad_dp" => "1"
        32 => "70"
        "fad_perc" => "70"
        33 => ""
        "fad_var" => ""
        34 => "0"
        "fad_auth" => "0"
        35 => ""
        "fad_messaggio" => ""
        36 => null
        "fad_testoa" => null
        37 => null
        "fad_testob" => null
        38 => null
        "fad_font" => null
        39 => null
        "fad_prezzo_prt" => null
        40 => null
        "fad_prezzo_wps" => null
        41 => null
        "fad_pagina" => null
        42 => "Formazione specifica per lavoratori aziende classificate a rischio basso in ambito sanità "
        "fad_info" => "Formazione specifica per lavoratori aziende classificate a rischio basso in ambito sanità "
        43 => null
        "fad_ico" => null
        44 => null
        "fad_ico_gruppo" => null
        45 => ""
        "fad_mex1" => ""
        46 => null
        "fad_atthtml" => null
        47 => "0"
        "fad_elearning_att" => "0"
        48 => ""
        "fad_elearning_att_txta" => ""
        49 => ""
        "fad_elearning_att_txtb" => ""
        50 => ""
        "fad_noteinterne" => ""
        51 => """
          Il corso è realizzato in conformità con quanto previsto dal D.Lgs 81/08 e dalla Legge 215/2021.\r\n
          Di seguito i macro argomenti contenuti all’interno del percorso formativo:\r\n
          \r\n
          \tLa comunicazione\r\n
          \tMobbing\r\n
          \tStress Lavoro correlato e Burn Out in ambito ospedaliero\r\n
          •       Rischi Psicosociali \r\n
          \tPrevenzione incendi: rischio incendio e procedure antincendio\r\n
          •       Prevenzione vie respiratorie\r\n
          •       Segnaletica\r\n
          \tVDT ed ergonomia\r\n
          """
        "fad_programma" => """
          Il corso è realizzato in conformità con quanto previsto dal D.Lgs 81/08 e dalla Legge 215/2021.\r\n
          Di seguito i macro argomenti contenuti all’interno del percorso formativo:\r\n
          \r\n
          \tLa comunicazione\r\n
          \tMobbing\r\n
          \tStress Lavoro correlato e Burn Out in ambito ospedaliero\r\n
          •       Rischi Psicosociali \r\n
          \tPrevenzione incendi: rischio incendio e procedure antincendio\r\n
          •       Prevenzione vie respiratorie\r\n
          •       Segnaletica\r\n
          \tVDT ed ergonomia\r\n
          """
        52 => "attestato_unicusano"
        "fad_attestato" => "attestato_unicusano"
      ]
    ]
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
includes
/
shortcodes
/
shortcode-php.php
        if ( ! $snippet || empty( $snippet_meta ) ) {
            return;
        }

        $attr = $this->filterAttributes( $attr, $id );

        // Let users pass arbitrary variables, through shortcode attributes.
        // @since 2.0.5
        extract( $attr, EXTR_SKIP );

        $is_activate     = $this->getSnippetActivate( $snippet_meta );
        $snippet_scope   = $this->getSnippetScope( $snippet_meta );
        $snippet_content = $this->getSnippetContent( $snippet, $snippet_meta, $id );

        if ( ! $is_activate || empty( $snippet_content ) || $snippet_scope != 'shortcode' || WINP_Helper::is_safe_mode() ) {
            return;
        }

        eval( $snippet_content );
    }

}
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
libs
/
factory
/
shortcodes
/
shortcode.class.php
            if ( ! empty( $post ) && ! empty( $this->shortcode_name ) ) {
                $found_shortcodes = get_post_meta( $post->ID, self::$meta_key_shorcode_assets_for_posts, true );

                if ( $found_shortcodes && ! is_array( $found_shortcodes ) ) {

                    $shortcodes = $this->shortcode_name;
                    if ( ! is_array( $shortcodes ) ) {
                        $shortcodes = [ $this->shortcode_name ];
                    }

                    $found_shortcodes                     = [];
                    $found_shortcodes[ $shortcodes[0] ]   = [];
                    $found_shortcodes[ $shortcodes[0] ][] = $attr;

                    update_post_meta( $post->ID, self::$meta_key_shorcode_assets_for_posts, $found_shortcodes );
                }
            }

            ob_start();
            $this->html( $attr, $content, $tag );
            $html = ob_get_clean();

            //return nl2br($html);
            return $html;
        }

        /**
         * Configures assets (js and css) for the shortcodes.
         *
         * The method should be overwritten in a deferred class.
         *
         * @since 1.0.0
         * @return void
         */
        public function assets() {
        }


        public function onPostSave( $post ) {
        }
Arguments
  1. array:3 [
      "id" => "1127"
      "iddo" => "324"
      "tutto" => "0"
    ]
    
  2. ""
    
  3. "wbcr_php_snippet"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
libs
/
factory
/
shortcodes
/
shortcodes.php
            public $connected = array();

            /**
             * This method allows to create a new shortcode object for each call.
             *
             * @param string $name A shortcode name.
             * @param array $arguments
             * @return string
             */
            public function __call($name, $arguments)
            {
                list($prefix, $type) = explode('_', $name, 2);
                
                if( $prefix !== 'shortcode' ) {
                    return;
                }

                $blank = new $type($this->class_to_plugin[$type]);

                return $blank->render($arguments[0], $arguments[1], $arguments[2]);
            }

            /**
             * Registers a new shortcode.
             *
             * @since 1.0.0
             * @param string $class_name A short code class name.
             * @return void
             */
            public function register($class_name, $plugin)
            {
                $shortcode = new $class_name($plugin);
                $shortcode->manager = $this;

                $this->shortcodes[] = $shortcode;

                foreach($shortcode->shortcode_name as $shortcode_name) {
                    $class_name = get_class($shortcode);

                    $this->class_to_plugin[$class_name] = $plugin;
Arguments
  1. array:3 [
      "id" => "1127"
      "iddo" => "324"
      "tutto" => "0"
    ]
    
  2. ""
    
  3. "wbcr_php_snippet"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
shortcodes.php
     * Filters whether to call a shortcode callback.
     *
     * Returning a non-false value from filter will short-circuit the
     * shortcode generation process, returning that value instead.
     *
     * @since 4.7.0
     *
     * @param false|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 );
}
 
/**
 * Searches 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. "shortcode_WINP_SnippetShortcodePhp"
    
  2. array:3 [
      0 => array:3 [
        "id" => "1127"
        "iddo" => "324"
        "tutto" => "0"
      ]
      1 => ""
      2 => "wbcr_php_snippet"
    ]
    
[internal]
Arguments
  1. array:7 [
      0 => "[wbcr_php_snippet id="1127" iddo=324 tutto=0]"
      1 => ""
      2 => "wbcr_php_snippet"
      3 => " id="1127" iddo=324 tutto=0"
      4 => ""
      5 => ""
      6 => ""
    ]
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
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;
}
 
/**
 * Retrieves 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. "/\[(\[?)(wbcr_php_snippet)(?![\w-])([^\]\/]*(?:\/(?!\])[^\]\/]*)*?)(?:(\/)\]|\](?:([^\[]*+(?:\[(?!\/\2\])[^\[]*+)*+)\[\/\2\])?)(\]?)/"
    
  2. "do_shortcode_tag"
    
  3. "[wbcr_php_snippet id="1127" iddo=324 tutto=0]"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
includes
/
class-wc-structured-data.php
        if ( ! is_object( $product ) ) {
            global $product;
        }
 
        if ( ! is_a( $product, 'WC_Product' ) ) {
            return;
        }
 
        $shop_name = get_bloginfo( 'name' );
        $shop_url  = home_url();
        $currency  = get_woocommerce_currency();
        $permalink = get_permalink( $product->get_id() );
        $image     = wp_get_attachment_url( $product->get_image_id() );
 
        $markup = array(
            '@type'       => 'Product',
            '@id'         => $permalink . '#product', // Append '#product' to differentiate between this @id and the @id generated for the Breadcrumblist.
            'name'        => wp_kses_post( $product->get_name() ),
            'url'         => $permalink,
            'description' => wp_strip_all_tags( do_shortcode( $product->get_short_description() ? $product->get_short_description() : $product->get_description() ) ),
        );
 
        if ( $image ) {
            $markup['image'] = $image;
        }
 
        // Declare SKU or fallback to ID.
        if ( $product->get_sku() ) {
            $markup['sku'] = $product->get_sku();
        } else {
            $markup['sku'] = $product->get_id();
        }
 
        if ( '' !== $product->get_price() ) {
            // Assume prices will be valid until the end of next year, unless on sale and there is an end date.
            $price_valid_until = gmdate( 'Y-12-31', time() + YEAR_IN_SECONDS );
 
            if ( $product->is_type( 'variable' ) ) {
                $lowest  = $product->get_variation_price( 'min', false );
                $highest = $product->get_variation_price( 'max', false );
Arguments
  1. "[wbcr_php_snippet id="1127" iddo=324 tutto=0]"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
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 ] = current( $this->iterations[ $nesting_level ] );
            $priority                                 = $this->current_priority[ $nesting_level ];
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // Avoid the array_slice() if possible.
                if ( 0 == $the_['accepted_args'] ) {
                    $value = call_user_func( $the_['function'] );
                } 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;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
Arguments
  1. WC_Product_Simple {}
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
class-wp-hook.php
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
     */
    public function do_action( $args ) {
        $this->doing_action = true;
        $this->apply_filters( '', $args );
 
        // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
        if ( ! $this->nesting_level ) {
            $this->doing_action = false;
        }
    }
 
    /**
     * Processes the functions hooked into the 'all' hook.
     *
     * @since 4.7.0
     *
     * @param array $args Arguments to pass to the hook callbacks. Passed by reference.
     */
    public function do_all_hook( &$args ) {
        $nesting_level                      = $this->nesting_level++;
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
Arguments
  1. ""
    
  2. array:1 [
      0 => ""
    ]
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
plugin.php
    if ( ! isset( $wp_filter[ $hook_name ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
 
        return;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $hook_name;
    }
 
    if ( empty( $arg ) ) {
        $arg[] = '';
    } elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
        // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
        $arg[0] = $arg[0][0];
    }
 
    $wp_filter[ $hook_name ]->do_action( $arg );
 
    array_pop( $wp_current_filter );
}
 
/**
 * Calls the callback functions that have been added to an action hook, specifying arguments in an array.
 *
 * @since 2.1.0
 *
 * @see do_action() This function is identical, but the arguments passed to the
 *                  functions hooked to `$hook_name` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global int[]     $wp_actions        Stores the number of times each action was triggered.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $hook_name The name of the action to be executed.
 * @param array  $args      The arguments supplied to the functions hooked to `$hook_name`.
 */
function do_action_ref_array( $hook_name, $args ) {
Arguments
  1. array:1 [
      0 => ""
    ]
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
woocommerce
/
content-single-product.php
    if ( 1 === count( $summary_before_classes ) ) {
        $summary_before_classes[] = 'col-12';
    }
    if ( 2 === count( $summary_classes ) ) {
        $summary_classes[] = 'col-12';
    }
    ?>
<div class="<?php echo esc_attr( $post_class ); ?> skeleton-body">
    <div class="row">
        <div class="<?php echo implode( ' ', $summary_before_classes ); ?>"></div>
        <div class="<?php echo implode( ' ', $summary_classes ); ?>"></div>
    <?php if ( isset( $summary2_classes ) && $summary2_classes ) : ?>
        <div class="<?php echo implode( ' ', $summary2_classes ); ?>"></div>
    <?php endif; ?>
        <div class="tab-content col-lg-12"></div>
    </div>
</div>
<?php endif; ?>
 
<?php do_action( 'woocommerce_after_single_product' ); ?>
 
Arguments
  1. "woocommerce_after_single_product"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
template.php
 
    if ( isset( $s ) ) {
        $s = esc_attr( $s );
    }
 
    /**
     * Fires before a template file is loaded.
     *
     * @since 6.1.0
     *
     * @param string $_template_file The full path to the template file.
     * @param bool   $require_once   Whether to require_once or require.
     * @param array  $args           Additional arguments passed to the template.
     */
    do_action( 'wp_before_load_template', $_template_file, $require_once, $args );
 
    if ( $require_once ) {
        require_once $_template_file;
    } else {
        require $_template_file;
    }
 
    /**
     * Fires after a template file is loaded.
     *
     * @since 6.1.0
     *
     * @param string $_template_file The full path to the template file.
     * @param bool   $require_once   Whether to require_once or require.
     * @param array  $args           Additional arguments passed to the template.
     */
    do_action( 'wp_after_load_template', $_template_file, $require_once, $args );
}
 
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/woocommerce/content-single-product.php"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
includes
/
wc-core-functions.php
                    "{$slug}.php",
                    WC()->template_path() . "{$slug}.php",
                )
            );
        }
 
        // Don't cache the absolute path so that it can be shared between web servers with different paths.
        $cache_path = wc_tokenize_path( $template, wc_get_path_define_tokens() );
 
        wc_set_template_cache( $cache_key, $cache_path );
    } else {
        // Make sure that the absolute path to the template is resolved.
        $template = wc_untokenize_path( $template, wc_get_path_define_tokens() );
    }
 
    // Allow 3rd party plugins to filter template file from their plugin.
    $template = apply_filters( 'wc_get_template_part', $template, $slug, $name );
 
    if ( $template ) {
        load_template( $template, false );
    }
}
 
/**
 * Get other templates (e.g. product attributes) passing attributes and including the file.
 *
 * @param string $template_name Template name.
 * @param array  $args          Arguments. (default: array).
 * @param string $template_path Template path. (default: '').
 * @param string $default_path  Default path. (default: '').
 */
function wc_get_template( $template_name, $args = array(), $template_path = '', $default_path = '' ) {
    $cache_key = sanitize_key( implode( '-', array( 'template', $template_name, $template_path, $default_path, Constants::get_constant( 'WC_VERSION' ) ) ) );
    $template  = (string) wp_cache_get( $cache_key, 'woocommerce' );
 
    if ( ! $template ) {
        $template = wc_locate_template( $template_name, $template_path, $default_path );
 
        // Don't cache the absolute path so that it can be shared between web servers with different paths.
        $cache_path = wc_tokenize_path( $template, wc_get_path_define_tokens() );
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/woocommerce/content-single-product.php"
    
  2. false
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
templates
/
single-product.php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly
}
 
get_header( 'shop' ); ?>
 
    <?php
        /**
         * woocommerce_before_main_content hook.
         *
         * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
         * @hooked woocommerce_breadcrumb - 20
         */
        do_action( 'woocommerce_before_main_content' );
    ?>
 
        <?php while ( have_posts() ) : ?>
            <?php the_post(); ?>
 
            <?php wc_get_template_part( 'content', 'single-product' ); ?>
 
        <?php endwhile; // end of the loop. ?>
 
    <?php
        /**
         * woocommerce_after_main_content hook.
         *
         * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
         */
        do_action( 'woocommerce_after_main_content' );
    ?>
 
    <?php
        /**
         * woocommerce_sidebar hook.
         *
         * @hooked woocommerce_get_sidebar - 10
         */
        do_action( 'woocommerce_sidebar' );
    ?>
Arguments
  1. "content"
    
  2. "single-product"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/woocommerce/templates/single-product.php"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
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 __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/template-loader.php"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
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 __DIR__ . '/wp-blog-header.php';
 
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/corsi/lavoratori-rischio-basso-parte-specifica-ambito-sanitario/"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PP_CUSTOM_PHP_INI
"/var/www/vhosts/system/confeuropacademy.org/etc/php.ini"
PP_CUSTOM_PHP_CGI_INDEX
"plesk-php73-fastcgi"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/corsi/lavoratori-rischio-basso-parte-specifica-ambito-sanitario/"
REMOTE_PORT
"37576"
SCRIPT_FILENAME
"/var/www/vhosts/confeuropacademy.org/httpdocs/index.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/confeuropacademy.org/httpdocs"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/var/www/vhosts/confeuropacademy.org/httpdocs"
REMOTE_ADDR
"35.172.230.154"
SERVER_PORT
"443"
SERVER_ADDR
"85.94.218.227"
SERVER_NAME
"confeuropacademy.org"
SERVER_SIGNATURE
"<address>Apache Server at confeuropacademy.org Port 443</address>\n"
HTTP_CONNECTION
"close"
HTTP_HOST
"confeuropacademy.org"
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_IF_MODIFIED_SINCE
"Tue, 27 Sep 2022 05:02:34 GMT"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
SSL_TLS_SNI
"confeuropacademy.org"
HTTPS
"on"
HTTP_AUTHORIZATION
""
REGISTER_GLOBALS
"0"
PHP_VER
"5"
SCRIPT_URI
"https://confeuropacademy.org/corsi/lavoratori-rischio-basso-parte-specifica-ambito-sanitario/"
SCRIPT_URL
"/corsi/lavoratori-rischio-basso-parte-specifica-ambito-sanitario/"
UNIQUE_ID
"Y@LEon8AAAEAAGhuAc4AAAAK"
REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"confeuropacademy.org"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_REGISTER_GLOBALS
"0"
REDIRECT_PHP_VER
"5"
REDIRECT_SCRIPT_URI
"https://confeuropacademy.org/corsi/lavoratori-rischio-basso-parte-specifica-ambito-sanitario/"
REDIRECT_SCRIPT_URL
"/corsi/lavoratori-rischio-basso-parte-specifica-ambito-sanitario/"
REDIRECT_UNIQUE_ID
"Y@LEon8AAAEAAGhuAc4AAAAK"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1675805858.1885
REQUEST_TIME
1675805858
empty
0. Whoops\Handler\PrettyPageHandler