WordPress.org

Forums

Ndizi Project Management
[resolved] PHP DUMP (5 posts)

  1. bloodgrave
    Member
    Posted 4 years ago #

    Everything was working fine.. I upgraded via auto update and then I get a PHP code dump as follows (backend and front) - deactivate and it goes away.:

    * Function List: function __construct(){ function on_activate(){ function on_deactivate(){ function install(){ function uninstall(){ function on_init(){ function on_admin_menu(){ function on_dashboard_setup(){ function print_admin_scripts_global(){ function print_admin_scripts_ndizi(){ function print_admin_styles_global(){ function print_admin_styles_ndizi(){ function print_frontend_scripts(){ function print_frontend_styles(){ function generate_help( $page ){ function make_tables() { function upgrade_tables() { function make_clients_table(){ function make_projects_table(){ function make_tasks_table(){ function make_time_table(){ function make_invoices_table(){ function make_attachments_table(){ function make_permissions_table(){ function upgrade_clients_table(){ function upgrade_projects_table(){ function upgrade_tasks_table(){} function upgrade_time_table(){} function upgrade_invoices_table(){ function upgrade_attachments_table(){} function upgrade_permissions_table(){} function _count( $table, $args = Array() ){ function client_count( $args = Array() ){ function project_count( $args = Array() ){ function task_count( $args = Array() ){ function time_count( $args = Array() ){ function invoice_count( $args = Array() ){ function attachment_count( $args = Array() ){ function permission_count( $args = Array() ){ function time_total( $args = Array() ){ function invoice_total( $type = 'total', $args = Array() ){ function get_clients( $page = NULL, $args = Array() ){ function get_projects( $page = NULL, $args = Array() ){ function get_tasks( $page = NULL, $args = Array() ){ function get_times( $page = NULL, $args = Array() ){ function get_invoices( $page = NULL, $args = Array() ){ function get_attachments( $page = NULL, $args = Array() ){ function get_permissions( $page = NULL, $args = Array() ){ function get_client( $id ){ function get_project( $id ){ function get_task( $id ){ function get_time( $id ){ function get_invoice( $id ){ function get_attachment( $id ){ function get_permission( $id ){ function _button_new( $type, $text ){ function print_button_new_client(){ function print_button_new_project(){ function print_button_new_task(){ function print_button_new_time(){ function print_button_new_invoice(){ function print_button_new_attachment(){ function print_button_new_permission(){ function _link_edit( $id, $type, $text ){ function get_link_edit_client( $id ){ function get_link_edit_project( $id ){ function get_link_edit_task( $id ){ function get_link_edit_time( $id ){ function get_link_edit_invoice( $id ){ function get_link_edit_attachment( $id ){ function get_link_edit_permission( $id ){ function _link_delete( $id, $type, $text ){ function get_link_delete_client( $id ){ function get_link_delete_project( $id ){ function get_link_delete_task( $id ){ function get_link_delete_time( $id ){ function get_link_delete_invoice( $id ){ function get_link_delete_attachment( $id ){ function get_link_delete_permission( $id ){ function _add( $table, $args = Array() ){ function add_client( $args = Array() ) { function add_project( $args = Array() ) { function add_task( $args = Array() ) { function add_time( $args = Array() ) { function add_invoice( $args = Array() ) { function add_attachment( $args = Array() ) { function add_permission( $args = Array() ) { function _edit( $table, $id, $args = Array() ){ function edit_client( $id, $args = Array() ) { function edit_project( $id, $args = Array() ) { function edit_task( $id, $args = Array() ) { function edit_time( $id, $args = Array() ) { function edit_invoice( $id, $args = Array() ) { function edit_attachment( $id, $args = Array() ) { function edit_permission( $id, $args = Array() ) { function admin_save_client( $id = NULL ){ function admin_save_project( $id = NULL ){ function admin_save_task( $id = NULL ){ function admin_save_time( $id = NULL ){ function admin_save_invoice( $id = NULL ){ function admin_save_attachment( $id = NULL ){ function admin_save_permission( $id = NULL ){ function delete_client( $id ){ function delete_project( $id ){ function delete_task( $id ){ function delete_time( $id ){ function delete_invoice( $id ){ function delete_attachment( $id ){ function delete_permission( $id ){ function delete_clients( $ids ){ function delete_projects( $ids ){ function delete_tasks( $ids ){ function delete_times( $ids ){ function delete_invoices( $ids ){ function delete_attachments( $ids ){ function delete_permissions( $ids ){ function print_clients_table( $page = 1, $args = Array() ){ function print_projects_table( $page = 1, $args = Array() ){ function print_tasks_table( $page = 1, $args = Array() ){ function print_times_table( $page = 1, $args = Array() ){ function print_invoices_table( $page = 1, $args = Array() ){ function print_attachments_table( $page = 1, $args = Array() ){ function print_permissions_table( $page = 1, $args = Array() ){ function print_your_times_table( $page = 1, $args = Array() ){ function print_client_form( $id = NULL ){ function print_project_form( $id = NULL ){ function print_task_form( $id = NULL ){ function print_time_form( $id = NULL ){ function print_invoice_form( $id = NULL ){ function print_attachment_form( $id = NULL ){ function print_permission_form( $id = NULL ){ function options_page(){ function _type_page( $type, $title, $icon_id = 'icon-tools' ){ function client_page(){ function project_page(){ function task_page(){ function time_page(){ function invoice_page(){ function attachment_page(){ function permission_page(){ function your_time_page(){ function friendly_page_slug( $slug_id, $display = TRUE ){ function friendly_page_link( $slug_id, $display = TRUE ){ function catch_post(){ function print_clients_dropdown( $selected_id = NULL, $name = 'client_id', $args = Array() ){ function print_projects_dropdown( $selected_id = NULL, $name = 'project_id', $args = Array() ){ function print_tasks_dropdown( $selected_id = NULL, $name = 'task_id', $args = Array() ){ function priority_options(){ function priority_readable( $i ){ function print_priority_options_dropdown( $selected = 3, $name = "priority" ){ function status_options(){ function status_readable( $i ){ function print_status_options_dropdown( $selected = 1, $name = "status" ){ function invoice_status_options(){ function invoice_status_readable( $i ){ function print_invoice_status_options_dropdown( $selected = 1, $name = "status" ){ function permission_options(){ function permission_readable( $i ){ function print_permission_options_dropdown( $selected = 1, $name = "permission" ){ function do_login( $access_key ){ function do_logout(){ function print_login_form(){ function print_logout_form(){ function frontend_content( $content ){ function print_frontend_client_table( $client_id ){ function print_frontend_project_table( $project_id ){ function print_frontend_invoice_table( $client_id ){ function print_attachments_list( $args ){ function print_frontend_display_invoice( $invoice_id ){ function print_frontend_task_form( $client_id ){ function print_frontend_attachment_form( $type, $id, $parent = 0 ){ function frontend_add_task(){ function frontend_add_attachment(){ function admin_header_form(){ function admin_dashboard_widget(){ function frontend_time_entry_control(){ function frontend_time_entry_widget( $args ){ function frontend_client_login_control(){ function frontend_client_login_widget( $args ){ function print_pager( $page, $link, $qty_items ){ function _th( $name, $label, $num = FALSE, $thead = FALSE ){ function _rth( $name, $label ){ function _td( $name, $content, $num = FALSE ){ function _form_row( $name, $label, $value = NULL, $type = 'text' ){ function _show_active( $active ){ function get_client_from_project( $project_id ){ function get_curr_user_id(){ function _val( $array, $index, $otherwise = NULL ){ function table_has_column( $table, $column ){ function append_get_variable( $url, $get = '' ){ function _parse( $args = Array() ){ function _parse_for_url( $args = Array() ){ function _params_to_args( $params, $src ){ function _process_file( $loc ){ function bug_report( $from, $message ){ */

  2. George Stephanis
    Code Monkey
    Plugin Author

    Posted 4 years ago #

    Holy moley!

    When I was pasting the code from my dev install to my svn repo, I accidentally overwrote the whole class with a summary of the class's member functions!

    Entirely my fault, very sorry! It's been patched over in 0.9.6.6, and should be safe to reinstall.

  3. bloodgrave
    Member
    Posted 4 years ago #

    Great, but now I'm getting "Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Array' was given in /mnt/r0303/d24/s04/b02f13ef/www/sitename.com/wp-includes/plugin.php on line 395"

  4. George Stephanis
    Code Monkey
    Plugin Author

    Posted 4 years ago #

    GAH!

    This just isn't my week.

    Patched and 0.9.6.7 pushed.

  5. bloodgrave
    Member
    Posted 4 years ago #

    all good, love the plugin and working great now!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic