LeonLatex Posted May 4, 2023 Share Posted May 4, 2023 (edited) I need help deciphering this error message. I can't figure it out myself and I can't see anything wrong with it. Can you see where the error(s) are? Error message in browser: ArticleWebsite.php: DatabaseTable.php: Edited May 4, 2023 by LeonLatex Quote Link to comment https://forums.phpfreaks.com/topic/316252-help-deciphering-an-error-message/ Share on other sites More sharing options...
Barand Posted May 4, 2023 Share Posted May 4, 2023 It's telling you that it isn't the correct place to define variables as "private". Quote Link to comment https://forums.phpfreaks.com/topic/316252-help-deciphering-an-error-message/#findComment-1608020 Share on other sites More sharing options...
dodgeitorelse3 Posted May 4, 2023 Share Posted May 4, 2023 (edited) did you solve the similar error in this post? Edited May 4, 2023 by dodgeitorelse3 Quote Link to comment https://forums.phpfreaks.com/topic/316252-help-deciphering-an-error-message/#findComment-1608021 Share on other sites More sharing options...
LeonLatex Posted May 4, 2023 Author Share Posted May 4, 2023 5 minutes ago, dodgeitorelse3 said: did you solve the similar error in this post? Yes, I re-wrote the whole script (file). That fixed all the problems, but not this one. Quote Link to comment https://forums.phpfreaks.com/topic/316252-help-deciphering-an-error-message/#findComment-1608022 Share on other sites More sharing options...
LeonLatex Posted May 4, 2023 Author Share Posted May 4, 2023 25 minutes ago, Barand said: It's telling you that it isn't the correct place to define variables as "private". Yes, I have found that too, but I don't know of another place to do this or another way to do it. I am stuck as a duck. Quote Link to comment https://forums.phpfreaks.com/topic/316252-help-deciphering-an-error-message/#findComment-1608023 Share on other sites More sharing options...
Barand Posted May 4, 2023 Share Posted May 4, 2023 Example from php manual: Quote Link to comment https://forums.phpfreaks.com/topic/316252-help-deciphering-an-error-message/#findComment-1608024 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.