• Resolved ramarso

    (@ramarso)


    Hi, when we activate the plugin we get this error in the LOG:

    PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘P3_Profiler_Plugin’ not found in …../wp-includes/plugin.php on line 505, referer: ………./wp-admin/plugins.php

    And hte link to the P3 Plugin doesn’t appear in the admin bar and the tabs Configuration, Activate, Delete disappears for all the installed plugins until the P3 Plugin is deactivated.

    What’s wrong? Someone can help us?

    https://wordpress.org/plugins/p3-profiler/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Kurt Payne

    (@kurtpayne)

    Please re-install the P3 plugin. It sounds like one of the files was not copied correctly.

    Thread Starter ramarso

    (@ramarso)

    I’m not a lucky man, the same error again and again after reinstall the plugin.

    Plugin Contributor Kurt Payne

    (@kurtpayne)

    If you disable other plugins first, does that resolve the issue?

    Thread Starter ramarso

    (@ramarso)

    We have 19 plugins installed in a production environment….

    Plugin Contributor Kurt Payne

    (@kurtpayne)

    Can you replicate this in a dev / test / staging environment?

    Thread Starter ramarso

    (@ramarso)

    Yes! we are doing right now, but we have 15GB of content + database and this is a hard work.

    Thread Starter ramarso

    (@ramarso)

    Activating the P3 plugin we get some errors by other plugins:

    PHP Warning: array_push() expects parameter 1 to be array, null given in ……/wp-content/plugins/dropdown-menu-widget/shailan.DropDownMenu.php on line 770, referer: ………./wp-admin/plugins.php?deactivate-multi=true&plugin_status=all&paged=1&s=

    PHP Warning: array_unshift() expects parameter 1 to be array, null given in /…………../wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/NextScripts_SNAP.php on line 249, referer: ………./wp-admin/plugins.php?activate=true&plugin_status=inactive&paged=1&s=

    PHP Catchable fatal error: Argument 1 passed to TablePress_Admin_Controller::add_plugin_action_links() must be an array, null given in ……./wp-content/plugins/tablepress/controllers/controller-admin.php on line 293, referer: …../wp-admin/plugins.php?deactivate-multi=true&plugin_status=all&paged=1&s=

    Some idea?

    Thread Starter ramarso

    (@ramarso)

    This is very strange. In the test environment (a copy of the production environment) we hace UNINSTALLED all the others plugins. And without others plugins installed weget 3 errors activating P3:

    [Tue Sep 16 00:52:22 2014] [error] [client 89.130.10.116] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘P3_Profiler_Plugin’ not found in …………./wp-includes/plugin.php on line 505, referer: ………../wp-admin/plugins.php?deactivate-multi=true&plugin_status=all&paged=1&s=
    [Tue Sep 16 00:52:22 2014] [error] [client 89.130.10.116] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘P3_Profiler_Plugin’ not found in …………./wp-includes/plugin.php on line 505, referer: ………/wp-admin/plugins.php?deactivate-multi=true&plugin_status=all&paged=1&s=
    [Tue Sep 16 00:52:22 2014] [error] [client 89.130.10.116] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘P3_Profiler_Plugin’ not found in ………../wp-includes/plugin.php on line 214, referer: http://new.futbolcarrasco.com/wp-admin/plugins.php?deactivate-multi=true&plugin_status=all&paged=1&s=

    WordPress is really a ….

    Some idea?

    Thread Starter ramarso

    (@ramarso)

    The error is in the functions.php of the Theme………..

    Thank you for your time.

    Plugin Contributor Kurt Payne

    (@kurtpayne)

    Glad you got it resolved 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Error activating the plugin’ is closed to new replies.