e107_plugins/faqs/faqs.php
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('faqs',TRUE);
- Exclude checks
Variable $text_menu
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text_menu .= "<div style='text-align:center'><br />".$tp->parseTemplate("{SEARCH=faqs}")."</div>";
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= (is_numeric($id)) ? LAN_EDIT : LAN_ADD; //LAN_ADD may not exist on the front end, but I dont think this code is used - Mikey.
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= " </select>
- Exclude checks
Variable $faq_info_title
is undeclared Open
Open
$ns->tablerender(LAN_PLUGIN_FAQS_FRONT_NAME.$faq_info_title, "<div style='text-align:center'>".$text."</div>".$this->faq_footer());
- Exclude checks
Call to deprecated class \form
defined at /code/e107_handlers/form_handler.php:8340
Open
Open
$rs = new form; // TODO - Remove outdated code
- Exclude checks
Variable $ret
was undeclared, but array fields are being added to it. Open
Open
$ret['text'] = $text;
- Exclude checks
Reference to undeclared constant \FAQ_ADLAN_52
Open
Open
<td class='forumheader3' style=\"width:20%; vertical-align:top\">".FAQ_ADLAN_52."</td>";
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<input class=\"button\" type=\"submit\" name=\"faq_submit\" value=\"".FAQ_ADLAN_54."\" />";
- Exclude checks
Variable $text
is undeclared Open
Open
$ns->tablerender(LAN_PLUGIN_FAQS_FRONT_NAME.$faq_info_title, "<div style='text-align:center'>".$text."</div>".$this->faq_footer());
- Exclude checks
Variable $ret
was undeclared, but array fields are being added to it. Open
Open
$ret['text'] = $text.$this->faq_footer();
- Exclude checks
Variable $faq_question
is undeclared Open
Open
$subject = (!$subject ? $tp->toDB($faq_question) : $subject);
- Exclude checks
Variable $text_menu
is undeclared Open
Open
return $text_menu;
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<tr>
- Exclude checks
Argument 1 (name)
is 'og:description'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:description', $ftmp['pagedescription']);
- Exclude checks
Suspicious type null
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
<textarea id=\"data\" cols='15' class=\"tbox\" name=\"data\" style=\"width:100%\" rows=\"8\" onselect=\"storeCaret(this);\" onclick=\"storeCaret(this);\" onkeyup=\"storeCaret(this);\">$data</textarea>
- Exclude checks
Reference to undeclared constant \FAQ_ADLAN_54
Open
Open
$text .= "<input class=\"button\" type=\"submit\" name=\"faq_submit\" value=\"".FAQ_ADLAN_54."\" />";
- Exclude checks
Variable $sql
is undeclared Open
Open
$sql->insert("faqs", " 0, '".$_POST['faq_parent']."', '$faq_question', '$data', '".e107::getParser()->filter($_POST['faq_comment'], 'str')."', '".time()."', '".USERID."', '".$count."' ");
- Exclude checks
Call with 3 arg(s) to \e_parse::toText()
which only takes 1 arg(s) defined at /code/e107_handlers/e_parse_class.php:2158
Open
Open
$ret['pagedescription'] = e107::getParser()->toText($this->pageDescription,true,'RAWTEXT');
- Exclude checks
Argument 2 (id)
is true
but \e107::getTemplate()
takes string
defined at /code/e107_handlers/e107_class.php:3403
Open
Open
$schemaTemplate = e107::getTemplate('faqs', true, 'schema');
- Exclude checks
Argument 2 (content)
is array|string|string[]
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:description', $ftmp['pagedescription']);
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "</table></div>";
- Exclude checks
Variable $subject
is undeclared Open
Open
$subject = (!$subject ? $tp->toDB($faq_question) : $subject);
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "</td>
- Exclude checks
Variable $faq_question
is undeclared Open
Open
<input class=\"tbox\" type=\"text\" name=\"faq_question\" style=\"width:100%\" value=\"$faq_question\" />
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "
- Exclude checks
Call to deprecated function \ren_help()
defined at /code/e107_handlers/ren_help.php:19
Open
Open
$text .= ren_help("addtext");
- Exclude checks
Invalid offset "submit_question_limit"
of array type array{}
Open
Open
if(!empty($this->pref['submit_question_limit']) && $existing >= $this->pref['submit_question_limit'])
- Exclude checks
Argument 2 (id)
is true
but \e107::getTemplate()
takes string
defined at /code/e107_handlers/e107_class.php:3403
Open
Open
$FAQ_LISTALL = e107::getTemplate('faqs', true, 'all');
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (ADMIN && getperms("B"))
- Exclude checks
Variable $faq_answer
is undeclared Open
Open
$data = $faq_answer;
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<td class='forumheader3' >".r_userclass("faq_comment", $faq_comment, "", "public,guest,nobody,member,admin,classes")."</td>";
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('faqs', true);
- Exclude checks
Argument 2 (fields)
is true
but \e_db::retrieve()
takes string
defined at /code/e107_handlers/e_db_interface.php:153
Open
Open
if(!$data = $sql->retrieve($query, true))
- Exclude checks
Variable $sub_action
is undeclared Open
Open
$ftmp = $faq->show_existing_parents($action, $sub_action, $id, $from, $amount);
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<select style='width:150px' class='tbox' id='faq_parent' name='faq_parent' >";
- Exclude checks
Invalid offset "orderby"
of array type array{}
Open
Open
list($orderBy, $ascdesc) = explode('-', vartrue($this->pref['orderby'],'faq_order-ASC'));
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= ren_help("addtext");
- Exclude checks
Variable $faq_comment
is undeclared Open
Open
$text .= "<td class='forumheader3' >".r_userclass("faq_comment", $faq_comment, "", "public,guest,nobody,member,admin,classes")."</td>";
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<tr>
- Exclude checks
Reference to undeclared constant \FAQ_ADLAN_53
Open
Open
$text .= "<input class=\"button\" type=\"submit\" name=\"faq_edit_submit\" value=\"".FAQ_ADLAN_53."$faq_id\" />
- Exclude checks
Argument 1 (text)
is null
but \e_parse::toHTML()
takes string
defined at /code/e107_handlers/e_parse_class.php:1532
Open
Open
$message = !empty($this->pref['submit_question_acknowledgement']) ? e107::getParser()->toHTML($this->pref['submit_question_acknowledgement'],true, 'BODY') : LAN_FAQS_004;
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= " FAQ</td></tr>";
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<br /></td></tr>";
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<input class=\"button\" type=\"submit\" name=\"faq_edit_submit\" value=\"".FAQ_ADLAN_53."$faq_id\" />
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('faqs',TRUE);
- Exclude checks
Variable $category_title
is undeclared Open
Open
$ret['title'] = LAN_FAQS_011." - ".$category_title;
- Exclude checks
Variable $faq_id
is undeclared Open
Open
$text .= "<input class=\"button\" type=\"submit\" name=\"faq_edit_submit\" value=\"".FAQ_ADLAN_53."$faq_id\" />
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('faqs', true);
- Exclude checks
Variable $sql2
is undeclared (Did you mean $sql) Open
Open
if (!is_object($sql2))
- Exclude checks
Variable $text_menu
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text_menu .= "<div style='text-align:center;' ><br />
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<table class='fborder' style=\"".USER_WIDTH."\" >
- Exclude checks
Reference to undeclared constant \FAQ_ADLAN_49
Open
Open
<td class='fcaption' style=\"width:70%\">".FAQ_ADLAN_49."</td>
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<input type='hidden' name='faq_comment' value='0' />";
- Exclude checks
Variable $sql
is undeclared Open
Open
$sql->update("faqs", "faq_parent='".intval($_POST['faq_parent'])."', faq_question ='$faq_question', faq_answer='$data', faq_comment='".$_POST['faq_comment']."' WHERE faq_id='".$idx."' ");
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$this->sc = e107::getScBatch('faqs',TRUE);
- Exclude checks
Invalid offset "page_title"
of array type array{}
Open
Open
if (!empty($this->pref['page_title'][e_LANGUAGE]))
- Exclude checks
Variable $text_menu
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text_menu .="</div>";
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "</td>
- Exclude checks
Reference to undeclared constant \FAQ_ADLAN_60
Open
Open
<td class='forumheader3' style=\"width:20%;vertical-align:top\">".FAQ_ADLAN_60."</td>
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "
- Exclude checks
Variable $sql
is undeclared Open
Open
$count = ($sql->count("faqs", "(*)", "WHERE faq_parent='".intval($_POST['faq_parent'])."' ") + 1);
- Exclude checks
Invalid offset "list_type"
of array type array{}
Open
Open
if($this->pref['list_type'] == 'ol')
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<div style='width : auto; height : 110px; overflow : auto; '>
- Exclude checks
Invalid offset "page_title"
of array type array{}
Open
Open
$ret['caption'] = e107::getParser()->toHTML($this->pref['page_title'][e_LANGUAGE], true, 'TITLE');
- Exclude checks
Variable $text_menu
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text_menu .="[ <a href='faqs.php?new.$id'>".LAN_FAQS_ASK_A_QUESTION."</a> ]";
- Exclude checks
Reference to undeclared constant \NWSLAN_42
Open
Open
<td style='width:70%' class='forumheader3'>".($rw['faq_question'] ? $tp->toHTML($rw['faq_question']) : "[".NWSLAN_42."]")."</td>
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<option value=\"".$prow['faq_info_id']."\" $selected>".$prow['faq_info_title']."</option>";
- Exclude checks
Reference to undeclared constant \FAQ_ADLAN_51
Open
Open
<td class='forumheader3' style=\"width:20%\">".FAQ_ADLAN_51."</td>
- Exclude checks
Variable $faq
is undeclared Open
Open
$text .= "<input type=\"hidden\" name=\"faq\" value=\"$faq\" />
- Exclude checks
Invalid offset "submit_question_acknowledgement"
of array type array{}
Open
Open
$message = !empty($this->pref['submit_question_acknowledgement']) ? e107::getParser()->toHTML($this->pref['submit_question_acknowledgement'],true, 'BODY') : LAN_FAQS_004;
- Exclude checks
Variable $ret
was undeclared, but array fields are being added to it. Open
Open
$ret['title'] = LAN_FAQS_011." - ".$category_title;
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('faqs',TRUE);
- Exclude checks
Reference to undeclared constant \FAQLAN_38
Open
Open
$ns->tablerender(FAQLAN_38, $text);
- Exclude checks
Variable $faq_id
is undeclared Open
Open
echo "<div style='text-align:right'><a href='".e_ADMIN."modcomment.php?faq.$faq_id'>".LAN_FAQS_009."</a></div><br />";
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<input type=\"hidden\" name=\"faq\" value=\"$faq\" />
- Exclude checks