I have this error:
A PHP Error was encountered
Severity: User Error
Message: Argument passed to ivXml::setNodeTree() must be an instance of ivXmlNode
Filename: /imagevue/include/ivXml.class.php
Line Number: 140
I read a lot of post about this problem, but nothing helped me. I tried to delete file folders.xml, tried to replace folderdata.xml with original one. But nothing helped.
Related
When accessing a page, I am now receiving the following error message:
Fatal error: Cannot use string offset as an array in
/home/content/01/5335601/html/wp-content/plugins/popup-by-supsystic/modules/popup/mod.php
on line 194
No changes were made to the page or popups. The fatal error just appeared.
Have not tried much since I have no earthly idea about code. I did follow the error message to at least locate line 194.
Line 194:
if(isset($p['params']['main']['hide_for_devices'])
Would like suggestions on how to correct this issue, especially those that I can understand enough to get the fatal error message removed and the content showing again.
$html=$this->load->view('r2013ms/Long_term_agreement',$data);
$obj_pdf->writeHTML($html);
$obj_pdf->Output('Agree.pdf', 'I');
Severity: Notice
Message: Undefined offset: 0
Filename: tcpdf/tcpdf.php
Line Number: 17155
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: tcpdf/tcpdf.php
Line Number: 17522
TCPDF ERROR: Some data has already been output, can't send PDF file
When you have "TCPDF ERROR: Some data has already been output, can't send PDF file" it's because you have displayed something in screen. Maybe another warning.
Try to put an "#" before the function's call, that will supress the error message
source
if all works fine, you know where search the error
Ok. So I changed the routing by adding this rule in the routes.php file:
$route['tools/(:any)'] = "b/view/$1";
However, when I visit http://mywebsite.com/tools/toolid, I get the following error:
A PHP ERROR WAS ENCOUNTERED
SEVERITY: NOTICE
MESSAGE: TRYING TO GET PROPERTY OF NON-OBJECT
FILENAME: VIEWS/LISTING_PAGE.PHP
LINE NUMBER: 64
So the code on line 64 in the LISTING_PAGE.PHP file is:
echo $categoryinfo->name;
The LISTING_PAGE.PHP is a view which is loaded by the code in the B class, specifically this line:
$this->load->view("listing_page", $data);
Now, the strange thing is, if I change the routing rule in routes.php to:
$route['tools/id/(:any)'] = "b/view/$1"; //I added an id 'section'
Then the code works without error.
The code also works perfectly if I access http://mywebsite.com/b/view/toolid.
So it appears that if there is more than one 'section' (tools/id) then the code works perfectly, if there is only one 'section'(tools/) then there is that non-object error.
Does anyone know what may cause this issue?
#splash58 is right
You should put:
echo '<pre>', var_dump($category);exit;
on very first line of view file just after opening php tag and see what have you got.
I'm trying to upload an image and have its thumbs immediately after uploading and get the link(path) when I click the thumbs. So I found this video in youtube that provided me exactly what I needed but I get these errors eventhough I was thorough in following the codes. Everyone in the comments seems to be not having any issues with the codes shown in the vid but me and my friends followed it individualy but we are having the same issues. I really wanted it to work.
Here is the video tutorial I was talking about:
https://www.youtube.com/watch?v=RG0NAVPNvoo
And these are the errors:
A PHP Error was encountered
Severity: Warning
Message: scandir(): Directory name cannot be empty
Filename: models/gallery_model.php
Line Number: 49
A PHP Error was encountered
Severity: Warning
Message: array_diff(): Argument #1 is not an array
Filename: models/gallery_model.php
Line Number: 50
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: models/gallery_model.php
Line Number: 52
I have huge delays on my project... I try to understand what is wrong and I can not find a solution. I get on my page these messages
A PHP Error was encountered Severity: Notice Message: Trying to get
property of non-object Filename: controllers/help.php Line Number: 243
A PHP Error was encountered Severity: Notice Message: Trying to get
property of non-object Filename: controllers/help.php Line Number: 244
A PHP Error was encountered Severity: Notice Message: Trying to get
property of non-object Filename: controllers/help.php Line Number: 245
The lines 243, 244, 245 are as follows on my Controllers
I have created a space between the lines 243, 244, 245 for the image posted here
$this->template->write('meta_title',$school_details->title.'-'.$data['site_setting']['site_name'].' School-'.$meta['title'], TRUE);
$this->template->write('meta_description', $school_details->title.'-'.$data['site_setting']['site_name'].' School-'.$meta['meta_description'], TRUE);
$this->template->write('meta_keyword', $school_details->title.'-'.$data['site_setting']['site_name'].' School-'.$meta['meta_keyword'], TRUE);
on my URL further down I get
also another error which is
A PHP Error was encountered
Severity: Notice Message: Trying to get property of non-object
Filename: default/school_detail.php Line Number: 11
A PHP Error was encountered Severity: Notice Message: Trying to get
property of non-object Filename: default/school_detail.php Line
Number: 14
Now pages 11 to 18 are as follows on my views
<div class="faq_list_div">
<h3 class="faq_heading_title"><?php echo $school_details->title; ?></h3>
<div style="padding-top:13px;">
<?php $content=$school_details->description;
$content=str_replace('KSYDOU','"',$content);
$content=str_replace('KSYSING',"'",$content);
echo $content; ?>
</div>
What is happening? The parameters work well (in English) when i use Greek Language
is another story although is on UTF8
Are you sure $school_details is an object? If it is not set, or not an object, this error will occur.