Skip to content
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

llegal string offset 'where' #62

Open
pannonius opened this issue May 12, 2019 · 3 comments
Open

llegal string offset 'where' #62

pannonius opened this issue May 12, 2019 · 3 comments

Comments

@pannonius
Copy link

pannonius commented May 12, 2019

  1. Warning: Illegal string offset 'where' in /apache24/data/modules/projects/projects.class.php on line 303
  2. Warning: Illegal string offset 'from' in /apache24/data/classes/dp.class.php on line 382

ERROR: /apache24/data/classes/query.class.php(636): query failed(SELECT project_id,project_name FROM (dotp_projects,dotp_() ORDER BY project_name) - error was: Table 'dotproject.dotp_(' doesn't exist
Backtrace:
0 /apache24/data/classes/query.class.php:636 dprint('/apache24/data/classes/query.class.php',636,0,'query failed(SELECT project_id,project_name FROM (dotp_projects,dotp_() ORDER BY project_name) - error was: Table 'dotproject.dotp_(' doesn't exist')
1 /apache24/data/classes/query.class.php:679 exec(2)
2 /apache24/data/classes/dp.class.php:399 loadHashList(NULL)
3 /apache24/data/modules/projects/projects.class.php:306 getAllowedRecords(1,'project_id,project_name','project_name',NULL,'(')
4 /apache24/data/modules/files/folders_table.php:947 getAllowedRecords('1','project_id,project_name','project_name',NULL,'(')
5 /apache24/data/style/default/overrides.php:95 require('/apache24/data/modules/files/folders_table.php')
6 /apache24/data/modules/files/index.php:95 show()
7 /apache24/data/index.php:301 require('/apache24/data/modules/files/index.php')

Table 'dotproject.dotp_(' doesn't exist

@ajdonnison
Copy link
Contributor

Can you check what version you are using? The line numbers don't match what I'd expect. Could you try the latest devel branch?

@pannonius
Copy link
Author

The version is 2.1.9.
The line numbers differ as I tried to fix the problem, so, maybe, I deleted/added an empty line ... But, these errors are what I got without any fix applied ....

@ajdonnison
Copy link
Contributor

Can you please try the devel branch? It has a lot of fixes that will eventually be rolled into master, but I suspect you have some induced corruption, so try https://github.com/dotproject/dotProject/archive/devel.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants