- Posts: 29
COMMUNITY FORUM
Unsaved and errors in version 2.7.0
- Omar Almeida
- Topic Author
- Offline
- Junior Member
Less
More
8 years 4 months ago #154225
by Omar Almeida
Unsaved and errors in version 2.7.0 was created by Omar Almeida
Hello, I'm having problems with k2 using extra campor and Save new articles.
J3.5.1 and K2 2.7.0 installed. See the image below for an error when trying to save the article.
In other articles is showing the line: Warning: trim () expects parameter 1 to be string, array given Beheerder in /home/****/public_html/new/libraries/vendor/joomla/string/src/phputf8/trim.php on line 61
In Adiministrator some article appears the line: Warning: htmlspecialchars () expects parameter 1 to be string, array given Beheerder in /home/****/public_html/new/administrator/components/com_k2/models/extrafield.php on line 308
Only this site this is happening, using Fields Extras. In other site there are no errors with the K2 2.7.0.
http://imgur.com/q6uKhdu
PHP 5.5 enabled on the server.
Thank you.
J3.5.1 and K2 2.7.0 installed. See the image below for an error when trying to save the article.
In other articles is showing the line: Warning: trim () expects parameter 1 to be string, array given Beheerder in /home/****/public_html/new/libraries/vendor/joomla/string/src/phputf8/trim.php on line 61
In Adiministrator some article appears the line: Warning: htmlspecialchars () expects parameter 1 to be string, array given Beheerder in /home/****/public_html/new/administrator/components/com_k2/models/extrafield.php on line 308
Only this site this is happening, using Fields Extras. In other site there are no errors with the K2 2.7.0.
http://imgur.com/q6uKhdu
PHP 5.5 enabled on the server.
Thank you.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 4 months ago #154248
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Unsaved and errors in version 2.7.0
Hello Omar,
This has been resolved,
github.com/getk2/k2/commit/6cff7526e292321479113783d5d2ea80ae7752a1
In the items that this warning appears " Warning: htmlspecialchars () expects parameter 1 to be string, array given Beheerder in /home/****/public_html/new/administrator/components/com_k2/models/extrafield.php on line 30" is there a K2 plugin present or is it stock K2?
This has been resolved,
github.com/getk2/k2/commit/6cff7526e292321479113783d5d2ea80ae7752a1
In the items that this warning appears " Warning: htmlspecialchars () expects parameter 1 to be string, array given Beheerder in /home/****/public_html/new/administrator/components/com_k2/models/extrafield.php on line 30" is there a K2 plugin present or is it stock K2?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Omar Almeida
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
8 years 4 months ago #154269
by Omar Almeida
Replied by Omar Almeida on topic Unsaved and errors in version 2.7.0
Hello, K2 returned to Save correctly with github.com the tip with some pqeuenos errors in CSS Admin.
The errors mentioned in the Item Management and pages remain some items in other everything is normal.
No external plugin only installed the K2 resources. The problem seems to be the Fields Extras. On other sites that do not use Fields Extras K2 works well.
Screen: imgur.com/uFCrbQI
The errors mentioned in the Item Management and pages remain some items in other everything is normal.
No external plugin only installed the K2 resources. The problem seems to be the Fields Extras. On other sites that do not use Fields Extras K2 works well.
Screen: imgur.com/uFCrbQI
Please Log in or Create an account to join the conversation.
- Omar Almeida
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
8 years 4 months ago #154290
by Omar Almeida
Replied by Omar Almeida on topic Unsaved and errors in version 2.7.0
More errors in the K2 now Options ... is problem after problem ..
Strict Standards: Declaration of K2Element :: render () shouldnt be compatible with JFormField :: render ($ layoutId, $ data = Array) in / home / **** / public_html / new / administrator / components / com_k2 / elements / base .php on line 25
X-(
Strict Standards: Declaration of K2Element :: render () shouldnt be compatible with JFormField :: render ($ layoutId, $ data = Array) in / home / **** / public_html / new / administrator / components / com_k2 / elements / base .php on line 25
X-(
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 4 months ago #154334
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Unsaved and errors in version 2.7.0
This is a notice (not even a notice too) it is not a problem and it will not affect your site's functionality.
If this is a production site, disable error to hide these strict standards notices.
If this is a production site, disable error to hide these strict standards notices.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Omar Almeida
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
8 years 4 months ago #154380
by Omar Almeida
Replied by Omar Almeida on topic Unsaved and errors in version 2.7.0
And not only errors. It is very good design in new k2, easy to use as ever and fast even on shared server. I am very grateful to work for you for this excellent component. I think he should already be in native Joomla.
Thank you.
Thank you.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 4 months ago #154390
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Unsaved and errors in version 2.7.0
Thank you Omar for your kind words :)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Joe Campbell
- Offline
- Platinum Member
Less
More
- Posts: 438
7 years 10 months ago #159281
by Joe Campbell
Replied by Joe Campbell on topic Unsaved and errors in version 2.7.0
I am seeing the same error message :(
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 10 months ago #159303
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Unsaved and errors in version 2.7.0
Deactivate error reporting Joe when you are on a production site.
Strict Standards is not a notice and it will not affect your site's functionality.
Strict Standards is not a notice and it will not affect your site's functionality.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.