4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 24, 2018, 07:07:10 AM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Issues / Ausgaben
| |-+  Feedback & Suggestions (Moderator: Acidgod)
| | |-+  Unique function names
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Unique function names  (Read 8475 times)
LoganSix
Newbie
*
Offline Offline

Posts: 14

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« on: February 27, 2007, 09:24:24 PM »

1
Fatal error: Cannot redeclare get_categories() (previously declared in /blog/wp-includes/category.php:14) in /gallery/includes/functions.php on line 1120

On the next update can you verify that all functions have unique names?
The above mentioned function could be changed to get_galleryCategories().

I am trying to create a page on my site that will include the latest public new images.  The page is located witin the WordPress structure, so both applications are calling different functions with the same name.
I will also notify WordPress of this bug too.

Thanks.
Logged
Bodzio
Newbie
*
Offline Offline

Posts: 36

Thank You
-Given: 0
-Receive: 0

BJ Fan


View Profile WWW
« Reply #1 on: May 09, 2015, 11:50:18 AM »

I had the same problem, so I changed the names of the get_categories to _get_Galcategories, but now I have something strange:

1
Fatal errorCall to undefined function get_Galcategories() in /public_html/galeria/index.php on line 80

i think that it is declared...

I cleared cache, and now I get:

1
Fatal errorCannot redeclare get_categories() in /public_html/wp/wp-includes/category.php on line 22

I checked the files, and there is no get_categories() in them - I mean 4images.

(I am trying to integrate the wordpress header and footer to the 4images template)...
« Last Edit: May 09, 2015, 12:06:36 PM by Bodzio » Logged

---
Best regards / Pozdrawiam serdecznie

Artur "Bodzio" Bogdański
Rembrandt
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4187

Thank You
-Given: 116
-Receive: 896

Vienna


View Profile WWW
« Reply #2 on: May 11, 2015, 07:36:21 PM »

..

I checked the files, and there is no get_categories() in them - I mean 4images.


search in includes/functions.php  "get_categories".
Logged

Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite


Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.167 seconds with 19 queries.
Post your comments here