Technically class with same can not be used multiple time, we made changes in our plugin to follow the simple php class rule, that WPDataTables plugin need to follow that, it's need to check the class exists or not before including the phpexcel file.
On Mon, Nov 13, 2017 at 11:56 PM, Tom Weidinger <[email protected]> wrote:
Yes. I have WPDataTables installed and it uses PHPExcel
From: Codeboxr [mailto:info@codeboxrcom] Sent: Monday, November 13, 2017 11:15 AM
To:[email protected]Subject: Re: [Support Mail from Codeboxr]: BX log manager
Hi,
do you have any other plugin installed that may use this phpexcel or excell export feature ? From the error message seems another plugin included the php class without checking. Can you please let us know which plugins you are using ?
If possible you can search for file name "PHPExcel.php" in full plugin dir.
On Mon, Nov 13, 2017 at 10:06 PM, Codeboxr <[email protected]> wrote:
From: Tom Weidinger Subject: BX log manager
Name:Tom Weidinger
Email: [email protected]
Enquiry Type: Product Support
Message Body:
Still receive error trying to export log file:
Fatal error: Cannot declare class PHPExcel, because the name is already in use in /homepages/17/d698944678/htdocs/clickandbuilds/ShalombHarim/wp-content/plugins/cbxwpsimpleaccountinglog/includes/PHPExcel.php on line 34
Purchased Order ID:
Website url:
Please note that, our timezone is GMT+6 ( i.e. 11 hours ahead from EST time) and we will be responding to you at the next available officer hours based on our timezone.
Our office is in opeartion during:
10 am to 7 pm BST (Bangladesh Standard Time, Dhaka, our local office)
4 am to 1 pm GMT (Greenwich Mean Time, UK)
11 pm to 8 am EST (Eastern Standard Time, USA)
If I understand correctly there is a conflict between CBX Accounting plugin and wpDataTables plugin because they both use PHPExcel.php. CBX is saying that they have used the proper technique for coding but wpDataTables has not. Something about checking to see if a class exists before using PHPExcel. All I know is that I get an error message shown at the bottom of this thread.
Unfortunately I am not very familiar with that plugin so I can tell you that we did not have reports about this plugin.
"CBX is saying that they have used the proper technique for coding but wpDataTables has not"
- Sorry but from this answer we can not tell where is the issue and regular support does not include debugging the third party plugins. I will note this and forward to my team but like I said the answer from free plugin authors and not providing any more details on which files or code is making conflict with our plugin is not something that we can start from.
See following thread:
Hi,
Technically class with same can not be used multiple time, we made changes in our plugin to follow the simple php class rule, that WPDataTables plugin need to follow that, it's need to check the class exists or not before including the phpexcel file.
On Mon, Nov 13, 2017 at 11:56 PM, Tom Weidinger <[email protected]> wrote:
Yes. I have WPDataTables installed and it uses PHPExcel
Tom Weidinger
[email protected]
770.314.5988
From: Codeboxr [mailto:info@codeboxrcom] Sent: Monday, November 13, 2017 11:15 AM To: [email protected] Subject: Re: [Support Mail from Codeboxr]: BX log manager
Hi,
do you have any other plugin installed that may use this phpexcel or excell export feature ? From the error message seems another plugin included the php class without checking. Can you please let us know which plugins you are using ?
If possible you can search for file name "PHPExcel.php" in full plugin dir.
On Mon, Nov 13, 2017 at 10:06 PM, Codeboxr <[email protected]> wrote:
From: Tom Weidinger Subject: BX log manager
Name:Tom Weidinger Email: [email protected] Enquiry Type: Product Support Message Body: Still receive error trying to export log file: Fatal error: Cannot declare class PHPExcel, because the name is already in use in /homepages/17/d698944678/htdocs/clickandbuilds/ShalombHarim/wp-content/plugins/cbxwpsimpleaccountinglog/includes/PHPExcel.php on line 34
Purchased Order ID: Website url:
Please note that, our timezone is GMT+6 ( i.e. 11 hours ahead from EST time) and we will be responding to you at the next available officer hours based on our timezone.
Our office is in opeartion during: 10 am to 7 pm BST (Bangladesh Standard Time, Dhaka, our local office) 4 am to 1 pm GMT (Greenwich Mean Time, UK) 11 pm to 8 am EST (Eastern Standard Time, USA)
Contact us: http://codeboxr.com/contact-us Privacy Policy: http://codeboxr.com/privacy TOS: http://codeboxr.com/tos Refund Policy: http://codeboxr.com/refund-policy
Kindest Regards Sabuj Kundu Founder & CEO
Codeboxr, http://codeboxrcom
Connect with us on Social Media: http://fb.com/codeboxr | http://twitter.com/#!/codeboxr | http://linkedin.com/company/codeboxr | http://pinterest.com/codeboxr
Hi coltding,
Thank you for your purchase.
Sorry but I did not understand what the issue is in the post below.
Can you please explain me more,
Thank you.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
If I understand correctly there is a conflict between CBX Accounting plugin and wpDataTables plugin because they both use PHPExcel.php. CBX is saying that they have used the proper technique for coding but wpDataTables has not. Something about checking to see if a class exists before using PHPExcel. All I know is that I get an error message shown at the bottom of this thread.
Hi coltding,
Unfortunately I am not very familiar with that plugin so I can tell you that we did not have reports about this plugin.
"CBX is saying that they have used the proper technique for coding but wpDataTables has not"
- Sorry but from this answer we can not tell where is the issue and regular support does not include debugging the third party plugins.
I will note this and forward to my team but like I said the answer from free plugin authors and not providing any more details on which files or code is making conflict with our plugin is not something that we can start from.
Thank you for understanding.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables