Home › Forums › Basel support forum › PHP Notices, Warnings
PHP Notices, Warnings
- This topic has 22 replies, 2 voices, and was last updated 6 years, 5 months ago by
Artem Temos.
-
AuthorPosts
-
March 10, 2019 at 5:44 pm #112155
FelixwebsimpleParticipantHi
1.I get php warnings whenever i get in to customize mode on my website and I get these notices on the top of my page
Notice: Trying to get property of non-object in /home/ulook/public_html/wp-includes/nav-menu.php on line 821
Notice: Trying to get property of non-object in /home/ulook/public_html/wp-includes/nav-menu.php on line 821
Notice: Trying to get property of non-object in /home/ulook/public_html/wp-includes/nav-menu.php on line 825
See attachment1
2. I keep getting these php warnings in my error log
[10-Mar-2019 17:40:11 UTC] PHP Warning: strstr() expects parameter 1 to be string, object given in /home/ulook/public_html/wp-includes/functions.php on line 930
[10-Mar-2019 17:40:11 UTC] PHP Warning: stripos() expects parameter 1 to be string, object given in /home/ulook/public_html/wp-includes/functions.php on line 936
[10-Mar-2019 17:40:11 UTC] PHP Warning: stripos() expects parameter 1 to be string, object given in /home/ulook/public_html/wp-includes/functions.php on line 939
[10-Mar-2019 17:40:11 UTC] PHP Warning: strpos() expects parameter 1 to be string, object given in /home/ulook/public_html/wp-includes/functions.php on line 946
[10-Mar-2019 17:40:11 UTC] PHP Warning: explode() expects parameter 2 to be string, object given in /home/ulook/public_html/wp-includes/functions.php on line 947I deactivated plugins and they still happened
I changed theme and stoppedPlease help me solve these problems.
Thank youAttachments:
You must be logged in to view attached files.March 11, 2019 at 7:17 am #112195
Artem TemosKeymasterHi,
Please, send us an exact algorithm of how to reproduce them on your website. Then, deactivate all the installed plugins as well as the child theme and send us your admin and FTP access.
Thank you
March 25, 2019 at 8:28 pm #114804
FelixwebsimpleParticipantFor the first three notices (1) it happens whenever I get in to customization mode for home page or any page.
The others (2) I get them on my server error log no matter what I do….
Ive deactivated all plugins and disabled child theme..
Please let me know as soon as you check the problem, as I can only keep the website like that for a few hours…
Thank you
March 26, 2019 at 12:20 am #114829
FelixwebsimpleParticipantI will restore my website now and maybe set it up on a demo domain so you can check it there
March 26, 2019 at 7:12 am #114860
Artem TemosKeymasterOK, send us the actual data where should we troubleshoot it. Also, provide us an access your to the error logs.
April 7, 2019 at 8:36 am #117473
FelixwebsimpleParticipantHello can you please check now on the actual website?
The error log is accessible via FTP in the public html
Thank you*I can leave the live website like that for approximately the next 12 hours, I it is enough
April 7, 2019 at 8:51 am #117475
FelixwebsimpleParticipant*I hope it is enough
April 7, 2019 at 3:06 pm #117505
Artem TemosKeymasterHello,
We can’t enter your dashboard and connect your FTP with the data you sent.
Regards
April 7, 2019 at 3:47 pm #117515
FelixwebsimpleParticipantSorry, please try again
April 7, 2019 at 3:50 pm #117516
FelixwebsimpleParticipantAlso FTP works fine, just checked it
April 8, 2019 at 6:24 am #117558
Artem TemosKeymasterSorry, but we still can’t access.
April 8, 2019 at 6:39 am #117564
FelixwebsimpleParticipantI have reset your password and checked again
April 8, 2019 at 7:31 am #117586
Artem TemosKeymasterWe see that those errors are not related to the theme and exist with default theme as well.
April 8, 2019 at 7:57 am #117595
FelixwebsimpleParticipantThis Applies to no1 and no2 php errors?
April 8, 2019 at 11:17 am #117642
Artem TemosKeymasterOnly the first one. We don’t see that 2nd errors appear in the error logs now.
April 8, 2019 at 12:27 pm #117664
FelixwebsimpleParticipantthere are in error log, please check it via ftp….
I ve been trying so long to find out whats wrongApril 8, 2019 at 12:30 pm #117665
Artem TemosKeymasterBut we don’t see errors from the last few days. They are outdated.
April 8, 2019 at 1:07 pm #117673
FelixwebsimpleParticipantDid you see the screenshot attached?
[08-Apr-2019 13:05:05 UTC] PHP Warning: explode() expects parameter 2 to be string, object given in /home/ulook/public_html/wp-includes/functions.php on line 947
I deleted the old error log, these are all from today until a couple of moments ago
April 8, 2019 at 1:08 pm #117674
Artem TemosKeymasterWe didn’t see the screenshot because you didn’t upload it. OK, please, disable all external plugins and remove the current error log so we can check.
April 8, 2019 at 1:12 pm #117675
FelixwebsimpleParticipantOk I have left all external plugins disabled.
Sorry for not uploading the file, but have no idea why it was not posted…
I post it here
April 8, 2019 at 2:50 pm #117679
Artem TemosKeymasterWe have fixed it on your website. Please, test it some time and see if the error doesn’t appear again.
April 8, 2019 at 3:01 pm #117683
FelixwebsimpleParticipantOK I will check it, but may I know the source of the problem and the modifications you made?
I’ve been trying to debug this thing since several months……
Thank you
April 9, 2019 at 6:05 am #117760
Artem TemosKeymasterWe don’t know why it happened on your website and it was very hard to reproduce. Anyway, we fixed it on your side.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register