Closed (fixed)
Project:
Dash Media Player
Version:
6.x-1.4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2009 at 01:43 UTC
Updated:
1 Jan 2012 at 19:56 UTC
i removed the module and now i can not run cron without getting this message.
who is "calling" to the undefined function. does anyone know how one can i reslove this?
Call to undefined function dashplayer_get_player() in /public_html/includes/common.inc(1648) : eval()'d code on line 5
what is this talking about i am not very clever with the internal programing of file such as common.inc
Comments
Comment #1
travist commentedThis is caused because you still have a node, or some page that is referencing the dashplayer_get_player API. The easiest way to fix this is to temporarily disable the PHP Code module, and then find the page that is showing the dashplayer_get_player API, and then delete that.
Thanks,
Travis.
Comment #3
mengzhuo commentedI had the same problem. Checked if there were some nodes left, but there were none.
Finally I discovered that a (now unused) 'Videos' view was still present in my views list. Removing this view solved the problem.
Comment #5
jadedspirit commentedThis same error happened on my site, but it completely ruined my site and I cannot evene get back to the admin page of my site or any page for that matter. How do i fix this same problem without being able to admin? Any help would be greatly appreciated
www.jadedspirit.com
Thx Brandon
Comment #6
decibel.places commentedAfter replacing Dash Player with Mediafront and the OSM player I am getting this error too.
I am using a kludge suggested at http://drupal.org/node/368949#comment-1602142
I added the dummy function
function dashplayer_get_player() {return '';}to my theme template.php file (and cleared my theme registry cache) and the error stopped appearing
however the real cause is probably one or more nodes still trying to embed the Dash Player, a search of the node and node revisions tables could help find them
Comment #7
decibel.places commentedthe dummy function stopped working
I reinstalled the Dash Player module but I'm not using it anywhere, and the error went away
according to #1 there is still a node calling the function, but since I don't have access to the db with phpmyadmin (client forgot his login) I found the code "dashplayer_get_player" in an SQL export using Backup & Migrate then I edited the node and removed the Dash Player code
the error stopped
Comment #8
sheldonkreger commentedDeleting my taxonomy term for post types using Dash, and deleting all nodes which may have used Dash, plus removing Dash plugin from my modules folder solved the problem.