Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / AdsManager error inside a code?

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

AdsManager error inside a code?

More
8 years 5 months ago #22570 by thebasix
AdsManager error inside a code? was created by thebasix
PHPStorm says for

/administrator/components/com_adsmanager/models/category.php

line:
$nbadsbycat[$ad->catid][]++;

"Cannot use [] for reading"

Is this an error or PHPStorm is wrong?
More
8 years 5 months ago - 8 years 5 months ago #22587 by loic
Replied by loic on topic AdsManager error inside a code?
Hello,

Strictly speaking, that line is correct and will not cause any error.

However increment an array while assigning it seems to be useless.

I will ask the developpment team about that.

Best regards.
Last edit: 8 years 5 months ago by loic.
Moderators: perry
Time to create page: 0.110 seconds
Powered by Kunena Forum