× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Can not declare class Helpers

7 years 7 months ago #1544 by Alex
Can not declare class Helpers was created by Alex
An error occurred when entering the page of the material editing form - on the white page the message:

Fatal error: Cannot declare class OrdersHelpersOrders, because the name is already in use in
.......\administrator\components\com_orders\helpers\orders.php on line 18

code:
defined('_JEXEC') or die;

18   class OrdersHelpersOrders
{
If you change the directory name
..........\administrator\components\com_orders\helpers+++\
page editing form appears.

What is the problem?

Please Log in or Create an account to join the conversation.

7 years 6 months ago #1546 by Alex
Replied by Alex on topic Can not declare class Helpers
This service works with Joomla 3.7?

Please Log in or Create an account to join the conversation.

7 years 6 months ago #1555 by Søren Beck Jensen
Replied by Søren Beck Jensen on topic Can not declare class Helpers
It does now. Joomla introduced some changes that broke Component Creator. You can read about it here: www.component-creator.com/en/forum/commu...are-class-joomla-3-7

Søren Beck Jensen
Founder, Component-Creator.com

Please Log in or Create an account to join the conversation.

7 years 6 months ago - 7 years 6 months ago #1560 by Alex
Replied by Alex on topic Can not declare class Helpers
Thank you.
Everything works perfectly!
Last edit: 7 years 6 months ago by Alex.

Please Log in or Create an account to join the conversation.

Time to create page: 0.050 seconds
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.