- Posts: 14
COMMUNITY FORUM
Error on Save with K2 and php 7.1.x
- John
- Topic Author
- Offline
- New Member
After that when ever i Save or Save & Close (in backend) an item i get an error.
"An error has occurred.
0 Call to undefined function iconv()"
Item is saved correctly from what i can see but i get the error every time.
FYI: i first saw this issue on Chronoforms (solved on an update) it had something to do with the Safe Save (settings that Chronoforms has) and the max_input_vars that i had to increase to 15000.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
This is a com_finder issue, which version of K2 are you using?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- John
- Topic Author
- Offline
- New Member
- Posts: 14
I just found out that it is only happening on 1 of my sites from 5-6 that use K2 all others are saving fine.
All sites have K2 v2.7.2 Dev Build (github.com/getk2/k2)
The only difference that i can remember about the problematic site is that i had upgraded to Dev Build on version K2 2.7.0 (i did update to K2 v2.7.2 Dev Build since then).
Plus that i have changed to 3 letters sql querries (don't know if it's relative).
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
If that does not work, try reverting the changes in the queries.
PS. In the problematic site :)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- John
- Topic Author
- Offline
- New Member
- Posts: 14
I can't revent the query changes as that important to me.
i might have to learn to live with it.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- John
- Topic Author
- Offline
- New Member
- Posts: 14
Warning: require_once(/home/*******/public_html/administrator/components/com_finder/helpers/indexer/adapter.php): failed to open stream: No such file or directory in /home/*******/public_html/plugins/finder/k2/k2.php on line 15
Fatal error: require_once(): Failed opening required '/home/*******/public_html/administrator/components/com_finder/helpers/indexer/adapter.php' (include_path='.:/opt/cpanel/ea-php71/root/usr/share/pear') in /home/*******/public_html/plugins/finder/k2/k2.php on line 15
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
This is a core file of Joomla!
github.com/joomla/joomla-cms/blob/staging/administrator/components/com_finder/helpers/indexer/adapter.php
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- John
- Topic Author
- Offline
- New Member
- Posts: 14
You told me to "disable the indexing plugin (com_finder)" but i could not find any plugin with that name so i renamed the folder /public_html/administrator/components/com_finder so NO the file that you are asking "adapter.php" could not be present.
After renaming back to original value the folder /public_html/administrator/components/com_finder the file you mentioned is once again present and accessible.
Please give more info if you wanted me to do something else with the "disable the indexing plugin (com_finder)"
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
Renaming the component will most likely break some functionality.
The plugin can cause issues but the error log points to a different direction (missing file).
Now... Is the file /public_html/administrator/components/com_finder/helpers/indexer/adapter.php' present and accessible?
The adapter.php is the missing file.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.