The Now Reading Redux plugin has a function definition clash with the Timely All-In-One Event Calendar at http://time.ly
Both plugins declare a url_get_contents function in the global namespace:
NRR in file amazon.php line 24
Timely in file lib/global-functions.php line 16
I hacked together a solution by running a simple search and replace in amazon.php, exchanging all instances of url_get_contents with nrr_url_get_contents.
In the future I would suggest namespacing functions in one of these ways:
- Utilizing PHP namespaces (available since 5.3)
- Encapsulating global functions into a class
- Adding a Now Reading Redux prefix to all global functions,
url_get_contents() > nrr_url_get_contents
The Now Reading Redux plugin has a function definition clash with the Timely All-In-One Event Calendar at http://time.ly
Both plugins declare a
url_get_contentsfunction in the global namespace:NRR in file
amazon.phpline 24Timely in file
lib/global-functions.phpline 16I hacked together a solution by running a simple search and replace in
amazon.php, exchanging all instances ofurl_get_contentswithnrr_url_get_contents.In the future I would suggest namespacing functions in one of these ways:
url_get_contents() > nrr_url_get_contents