-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for EE5 #67
Comments
This is because this plugin was made for EE2. There have been database changes since then. I got it working on EE4. You can find my solution here: Support for EE4. There's a good chance it may work for EE5 too, which I'll be testing some time in the near future. |
Tested it on my local server at home on EE 5.3.2 and it works like a charm! 👍 Again, test it locally or on a development server before using it on a production/live server! |
Reworked the code: |
Hi, i am testing JSON 2.0 on my localhost using EE 5.2.2, but can't seem to view/get custom fields data to work! |
I am using JSON 2.0 |
Reworked the code again because of problems with legacy custom fields: v2.5.0 JSON Output for EE4, EE5 & EE6 |
Getting Error
Exception Caught
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'exp_channel_fields.group_id' in 'on clause':
SELECT
exp_channel_fields
.*,exp_channels
.channel_id
FROM (exp_channel_fields
) JOINexp_channels
ONexp_channel_fields
.group_id
=exp_channels
.field_group
WHEREexp_channels
.site_id
= 1 ANDexp_channels
.channel_name
IN ('missions')ee/legacy/database/drivers/mysqli/mysqli_connection.php:117
Stack Trace: Please include when reporting this error
#0 admin\ee\legacy\database\drivers\mysqli\mysqli_driver.php(112): CI_DB_mysqli_connection->query('SELECT
exp_cha...') #1 admin\ee\legacy\database\DB_driver.php(270): CI_DB_mysqli_driver->_execute('SELECT
exp_cha...')#2 admin\ee\legacy\database\DB_driver.php(180): CI_DB_driver->simple_query('SELECT
exp_cha...') #3 admin\ee\legacy\database\DB_active_rec.php(1138): CI_DB_driver->query('SELECT
exp_cha...')#4 admin\user\addons\json\pi.json.php(122): CI_DB_active_record->get()
#5 admin\ee\legacy\libraries\Template.php(1847): Json->entries()
#6 admin\ee\legacy\libraries\Template.php(1482): EE_Template->process_tags()
#7 admin\ee\legacy\libraries\Template.php(578): EE_Template->tags()
#8 admin\ee\legacy\libraries\Template.php(234): EE_Template->parse('{!-- ra:0000000...', false, 1, false)
#9 admin\ee\legacy\libraries\Template.php(165): EE_Template->fetch_and_parse('', Array, false)
#10 admin\ee\legacy\libraries\Core.php(661): EE_Template->run_template_engine('', '')
#11 admin\ee\legacy\controllers\ee.php(63): EE_Core->generate_page()
#12 [internal function]: EE->index()
#13 admin\ee\EllisLab\ExpressionEngine\Core\Core.php(241): call_user_func_array(Array, Array)
#14 admin\ee\EllisLab\ExpressionEngine\Core\Core.php(110): EllisLab\ExpressionEngine\Core\Core->runController(Array)
#15 admin\ee\EllisLab\ExpressionEngine\Boot\boot.php(151): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))
#16 index.php(173): require_once('D:\www\wamp64\w...')
#16 index.php(173): require_once('D:\www\wamp64\w...')
The text was updated successfully, but these errors were encountered: