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

[4.0] New banner fails to save #23072

Closed
phalouvas opened this issue Nov 14, 2018 · 2 comments
Closed

[4.0] New banner fails to save #23072

phalouvas opened this issue Nov 14, 2018 · 2 comments

Comments

@phalouvas
Copy link
Contributor

Steps to reproduce the issue

  1. Create new banner
  2. Put a title
  3. Choose a client.
  4. Save.

Be aware that the problem only occurs on new banner, and if you choose a client.

Expected result

To save a new banner on the selected client.

Actual result

An error has occurred.
0 Call to a member function load() on boolean

System information (as much as possible)

Joomla v4alpha5

Additional comments

The problem is on file /administrator/components/com_banners/Table/BannerTable
line 204. Change from:

$client = Table::getInstance('Client', NAMESPACE . '\', array('dbo' => $db));
to
$client = new ClientTable($db);
I will also try to submit PR that fixes this issue.

@richard67
Copy link
Member

This issue can be closed because it’s solved with commit 329fd3b

@joomla-cms-bot
Copy link

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/23072

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

No branches or pull requests

3 participants