Questions tagged [notice]
293 questions
-1
votes
1 answer
How can i call a plugin shortcode from within a function with theme functions.php file?
I use a plugin (Popup Builder) on my WordPress site. Whenever I create a new popup with the plugin, it creates a shortcode for that popup. I want to call on that shortcode from within the theme functions.php file. But I can't seem to get it to work…

re-boot
- 35
- 1
- 8
-1
votes
1 answer
Notice: Undefined property: stdClass::$images in
i have a problem with a stdObject. i did not find a solution for my problem. there are products that have images
[products] => array
(
[0] => stdClass Object
(
[images] => Array
(
…

Dashmir Kasa
- 23
- 5
-1
votes
1 answer
Java Jython license - lack of understanding
I have read Jython license information available here http://www.jython.org/license.html and I'm not quite sure how to adapt to this points in the license guide:
Redistributions of source code must retain the above copyright notice, this list of…

westman379
- 493
- 1
- 8
- 25
-1
votes
2 answers
Why do the values of array elements are not getting printed and generating notice when put inside double quotes?
As per my knowledge if PHP variables are echoed inside double quotes they get printed on screen.
For example :
Similarly, I tried to…

PHPLover
- 1
- 51
- 158
- 311
-1
votes
5 answers
Notice: Undefined offset: 1 when creating a Array-Element?
I have a curious behavior which I can't explain. I loop a Array with foreach to create a other output-array from it's values:
$tabCount = 0;
$mainDivs = array();
foreach($output as $node) {
$tabCount++;
$mainDivs[$tabCount] .=…

crunchy
- 179
- 10
-1
votes
1 answer
MySQLi edit from php and errors
Here is the link for the big file: http://pastebin.com/ZREjJ2NK
The problem is as follows:
I get the same error:
ERROR: Please fill in all required fields!
But all my fields are written. Then from $bTag till $avatar my variables are with Notices…

Alex Papadopoulos
- 19
- 3
-1
votes
1 answer
Notice: Undefined offset: 22 in C:\xampp\htdocs\authen.php on line 82
line numbber 82 is the if statement
$re_arr is an array containing 25 elements
if ($pass[0]==substr($re_arr[$i],0,1))
{
$pass1[0]=$re_arr[$i];
unset($re_arr[$i]);
$re_arr=array_values($re_arr);
}
what could be done to avoid the notice

Azra Mahrukh
- 151
- 1
- 14
-1
votes
1 answer
Notice: Array to string conversion convert array to string
I want to convert all session's keys and values to the string. When I run this code:

Aliyev Rauf
- 11
- 1
- 6
-1
votes
3 answers
Good practice related to empty arrays and notices
I started developing something more complex that what I did before and I want to do it "by the book" and I've read that notices should be avoided, even if they don't affect the usability.
So I have a function that checks the URL and splits it into…

Alex
- 4,674
- 5
- 38
- 59
-1
votes
2 answers
Getting A PHP Error was encountered
I am new to codeigniter and still learning. I want to show a single product from my database containing the table product which includes product_id,product_name etc tables.I have come up with a problem below
A PHP Error was encountered
Severity:…

Babar Ali
- 181
- 1
- 18
-1
votes
2 answers
Display data from two tables - PHP mySQL
I've two tables in database 1. post and 2. OS
post:
+----+------------+-------+-------+-----+--------+------+-----+-------+
| id | title | metaD | metaK | img | author | date | cat | text…

David
- 23
- 1
- 7
-1
votes
2 answers
For rails app, how to make flash[:notice] to show a complex sentence?
I want to do something like this:
in controller:
res=1+3
if ...
flash[:notice]="the result is" + res
end
However, I found that it does not work, and the error message is like this:
no implicit conversion of Fixnum into String

user2049259
- 533
- 2
- 6
- 13
-1
votes
2 answers
PDO PHP Error , Now sure how to fix it?
I am getting the following errors:
Notice: Array to string conversion in line 371
Warning: PDOStatement::execute() [pdostatement.execute]:
SQLSTATE[HY093]: Invalid parameter number: number of bound variables
does not match number of tokens on…

user3284909
- 27
- 4
-1
votes
1 answer
notice board hover while click on
i just wants idea..how to get through it.,.
Please visit the site http://www.gumtree.com.au/ .On the right side of the homepage, in one column, there area a number of sticky notes like notice areas. Each of these notice areas has a number of radio…

susandev
- 1
- 3
-2
votes
1 answer
Notice: Undefined index $_POST method
I have a php simple project.
The project is to create an email submission page.
I use phpstorm software.

mohammad erfan
- 21
- 6