ERROR: History::set(): Return value must be of type bool, PDOStatement returned #1017
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1017
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps to reproduce the issue
Create any test component
Compile
Expected result
created test component
Actual result
VDM\Joomla\Componentbuilder\Compiler\JoomlaThree\History::set(): Return value must be of type bool, PDOStatement returned
System information (as much as possible)
Additional comments
Just figuring out how all works, no added PHP code
Okay normally the
updateObject
should return a boolThis means that the function
VDM\Joomla\Componentbuilder\Compiler\JoomlaThree\History::set()
should always return a bool...So I am not sure what could case this issue at all.
Are you able to with a clean install build the demo component?
Thanks for the reply.
I uninstalled JCB and reinstalled it.
Compiling the Demo went OK
I will try to create a a test component and compile tomorrow and report back.
Hi,
so now with this setup I created a Test component, A simple Admin view and a simple Site view.
Then linked them in the component and saved.
There is no additional code added, no additional things selected etcetera.
Then Compiled the Test component and the exact same error pops up.
You will need to give me some more information, since if I can't duplicate the issue, I can't debug it.
At this point the conclusion is that your doing something wrong... which is easy to do with JCB.
So make sure to watch all the tutorial on how to use JCB, and if you have in fact done that, give me more details so I can replicate/duplicate the issue.
That is a possibility, the options are tremendous.
So I will check some videos and also try it on Linux Lampp as now I tried on Windows Xampp, should not matter but anyway.
I am only working on Linux (Ubuntu) and this is my suggestion for local development: https://youtu.be/owpxKie0I7s?si=iS5bWsSv3pXtcf-S
This allows you to run a native ubuntu-docker setup in Virtual-Box.
If your on Ubuntu... you can use octojoom directly as it will take care of all your containers.
This is the environment I am working in.
I realize many who use JCB are on Windows desktop, or Mac... but I just have not worked in Windows for many years now, and can't really help.
I can highly understand your choice. Many servers on the web run on Linux.
And with a PHP project I was working on, worked not ok on the Linux server (especially sessions) while it was working on windows Xampp.
So then I used Ubuntu (multi-boot PC) to fix the issues.
(not that I'm a highly skilled programmer on PHP, I just look for solutions and try and error)
I will check and try out your suggestions.
Thanks !