Qualitti Alimentos - Receita -

INGREDIENTES

MODO DE PREPARO

Error

Error

Call to a member function getVideo() on null

/home3/qualitti/public_html/receita_mostra.php(43)

31             <div class="container">
32                 <div class="row m-t-40 m-b-50 receita-detalhe">
33                     <div class="col-md-8" data-aos="fade-left" data-aos-duration="100">
34                         <h2 class="fonte-bold" data-aos="fade-up" data-aos-duration="300">INGREDIENTES</h2>
35                         <div class="ingredientes m-t-30" data-aos="fade-up" data-aos-duration="300">
36                             <?=$receita->ingredientes?>
37                         </div>
38                         <h2 class="fonte-bold m-t-30" data-aos="fade-left" data-aos-duration="300">MODO DE PREPARO</h2>
39                         <div class="m-t-20" data-aos="fade-up" data-aos-duration="300">
40                             <?=$receita->modo_preparo?>
41                         </div>
42                         <?
43                         if ($receita->getVideo()!=''){
44                             ?>
45                             <p class="m-t-20">
46                                 <iframe width="100%" height="400" src="<?=$receita->getVideo()?>" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
47                             </p>
48                             <?
49                         }
50                         ?>
51                     </div>
52                     <div class="col-md-4" data-aos="fade-right" data-aos-duration="300">
53                         <div  id="outras-receitas">
54                             <?php include('receita_page.php') ?>
55                         </div>

Stack Trace

#0
+
–
 /home3/qualitti/public_html/RequestManager.php(171): require_once()
166             Utf8::encode($html);
167             echo $html;
168             exit;
169         }
170 
171         require_once($require_file);
172         exit;
173 
174     }
175 
176 }
#1
+
–
 /home3/qualitti/public_html/index.php(43): RequestManager->run(array("/" => "inicial.php", "/index" => "inicial.php", "/inicial" => "inicial.php", "/sobre" => "sobre.php", ...))
38 
39     '/contato'=>'contato_form.php',
40     '/contato/(?P<sucesso>\w+)'=>'contato_form.php',
41     '/pagina/(?P<id>\d+)'=>'pagina.php',
42 );
43 $request_manager->run($rotas);
44 ?>
2021-05-12 13:55:38 Apache Yii Framework/1.1.13