PHP notice

Array to string conversion

/home/1223734.cloudwaysapps.com/rpamfzuxzw/public_html/shared/yii_1_1_13/framework/web/helpers/CHtml.php(157)

145      * Since version 1.1.5, attributes whose value is null will not be rendered.
146      * @param mixed $content the content to be enclosed between open and close element tags. It will not be HTML-encoded.
147      * If false, it means there is no body content.
148      * @param boolean $closeTag whether to generate the close tag.
149      * @return string the generated HTML element tag
150      */
151     public static function tag($tag,$htmlOptions=array(),$content=false,$closeTag=true)
152     {
153         $html='<' . $tag . self::renderAttributes($htmlOptions);
154         if($content===false)
155             return $closeTag && self::$closeSingleTags ? $html.' />' : $html.'>';
156         else
157             return $closeTag ? $html.'>'.$content.'</'.$tag.'>' : $html.'>'.$content;
158     }
159 
160     /**
161      * Generates an open HTML element.
162      * @param string $tag the tag name
163      * @param array $htmlOptions the element attributes. The values will be HTML-encoded using {@link encode()}.
164      * If an 'encode' attribute is given and its value is false,
165      * the rest of the attribute values will NOT be HTML-encoded.
166      * Since version 1.1.5, attributes whose value is null will not be rendered.
167      * @return string the generated HTML element tag
168      */
169     public static function openTag($tag,$htmlOptions=array())

Stack Trace

#1
+
 /home/1223734.cloudwaysapps.com/rpamfzuxzw/public_html/releases/20180313082839/protected/views/content/page.php(19): CHtml::link(array("/content/page/24" => "About Conservation Evidence", "/content/page/104" => "About Studies", "/content/page/105" => "About Actions", "/content/page/126" => "About Synopses", ...), array("About us"))
14                 <!-- Related menu items  -->
15                 <div class="links-block">
16                     <h4>See also</h4>
17                     <ul class="list-inline">
18                         <?php foreach ( $pagesInThisSection as $id => $label ) : ?>
19                             <li<?php echo ( ($id == $pageId) ? ' class="active"' : '' ); ?>><?php echo CHtml::link( $label, array($id) ); ?></li>
20                         <?php endforeach ?>
21                     </ul>
22                 </div>
23 
24             <?php endif; ?>
#6
+
 /home/1223734.cloudwaysapps.com/rpamfzuxzw/public_html/releases/20180313082839/protected/controllers/ContentController.php(42): CController->render("page", array("title" => "Restoration Evidence", "body" => "<p><a href="https://www.endangeredlandscapes.org/restoration-evi...", "banner" => "6 Banner_Namibia P Donald.jpg", "pageId" => "/content/page/96", ...))
37         echo $this->render('page', array(
38             'title' => $content->heading ?: $model->getTitleFromName(),
39             'body' => $content->body,
40             'banner' => $content->banner,
41             'pageId' => '/content/page/'.$id,
42             'pagesInThisSection' => $this->getPagesInThisSection($id)
43         ));
44     }
45 
46     /**
47      * Get pages whose parent ID matches the specified ID.
#16
+
 /home/1223734.cloudwaysapps.com/rpamfzuxzw/public_html/releases/20180313082839/index.php(12): CApplication->run()
07 defined('YII_DEBUG') or define('YII_DEBUG',true);
08 // specify how many levels of call stack should be shown in each log message
09 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
10 
11 require_once($yii);
12 Yii::createWebApplication($config)->run();
2024-03-19 02:14:42 Apache/2.4.57 (Debian) Yii Framework/1.1.13