Re: Backend order page issue
This function doesn't exist in the base build of 1.5.8.. Perhaps you have added a plugin that doesn't quite work or isn't fully installed?
Re: Backend order page issue
Quote:
Originally Posted by
swguy
This function doesn't exist in the base build of 1.5.8.. Perhaps you have added a plugin that doesn't quite work or isn't fully installed?
a plugin? really? i'm going with bad guess there.
i'm going with mixup of v158 and v200.
see this function.
that function was part of the alpha version of v200 and onwards....
TIS.
best.
Re: Backend order page issue
Carlwhat,
When I added those changes I cant get to the backend.
Re: Backend order page issue
Carlwhat,
Just FYI: There was a weird script that went into an order. Not sure how or why it got there. Only has happened once. Once i edited the table in the database and removed what was there all is good.
Though I did try your suggestion:
When I added those changes I cant get to the backend.
errorin log
HTML Code:
[20-Mar-2024 14:35:11 America/New_York] PHP Fatal error: Uncaught Error: Call to undefined method language::get_languages_by_code() in /home/xxx/public_html/admin/includes/functions/general.php:101
Stack trace:
#0 /home/xxx/public_html/admin/home.php(11): zen_get_languages()
#1 /home/xxx/public_html/admin/index.php(11): require('/home/xxx/...')
#2 {main}
thrown in /home/xxx/public_html/admin/includes/functions/general.php on line 101
[20-Mar-2024 14:35:11 America/New_York] Request URI: /admin/, IP address: 73.125.60.145
--> PHP Fatal error: Uncaught Error: Call to undefined method language::get_languages_by_code() in /home/xxx/public_html/admin/includes/functions/general.php:101
Stack trace:
#0 /home/xxx/public_html/admin/home.php(11): zen_get_languages()
#1 /home/xxx/public_html/admin/index.php(11): require('/home/xxx/...')
#2 {main}
thrown in /home/xxx/public_html/admin/includes/functions/general.php on line 101.
Re: Backend order page issue
to be clear, i have not made any suggestions.
@swguy made a comment that the problem in your OP could be from a plugin not properly installed. i disagreed with that comment. i thought your problem was with a mixup of v158 and v200 code bases. and based on your comments, i have been proven correct.
i never offered any solutions.
you started this thread that the problem is here:
v158 Backend order page issue
but you seem to be using half of the code from v200. which is still in development mode with a few release candidates.
your latest error suggests the same.
get_languages_by_code is part of v200; it is not part of v158. you have code from v200 in your admin file structure, but not in your storefront, which is where that method resides.
you have to make a decision which code base you want to use and stick to that.
best.
Re: Backend order page issue
Quote:
Originally Posted by
chadlly2003
Carlwhat,
Just FYI: There was a weird script that went into an order. Not sure how or why it got there. Only has happened once. Once i edited the table in the database and removed what was there all is good.
Script as in <script src...>? Is your site inv...pply.com by any chance? I sent you an email through your site's contact form about that... Just reported it as a security issue to the team, let's see what they say about it.