4images Issues / Ausgaben > Feedback & Suggestions

Unique function names

(1/1)

LoganSix:

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

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.

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

Fatal error: Call 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:

Fatal error: Cannot 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)...

Rembrandt:

--- Quote from: Bodzio on May 09, 2015, 11:50:18 AM ---..

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


--- End quote ---

search in includes/functions.php  "get_categories".

Navigation

[0] Message Index

Go to full version