• Greetings,

    All of sudden I have notice followings warnig message in my wordpress dashboard page:

    Notice: Undefined variable: page in /home2/artchca/public_html/wordpress/wp-content/plugins/font_typed/font_typed.php on line 44

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method ftanm::register_admin_menu() should not be called statically in /home2/artchca/public_html/wordpress/wp-includes/plugin.php on line 496

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method PHPPC::register_admin_menu() should not be called statically in /home2/artchca/public_html/wordpress/wp-includes/plugin.php on line 496

    I have not idea (well almost – an notification from a host service staff about potential infection) what causes the problem.
    I would deeply appreciate any helpful guidance (a hammer-way explication, I am not an advanced user) on resolving the problem.

    Thank you in advance.

Viewing 14 replies - 1 through 14 (of 14 total)
  • I would get in touch with your hosting provider to get more details on the nature of the problem if it is indeed compromised. Certainly it is in their best interest to sort this out and work with you.

    You can also plug your web address into https://sitecheck.sucuri.net/ and see if anything amiss comes up.

    Thread Starter GThib

    (@gthib)

    Thank you very much.
    I have already contacted the hosting provider.
    Hope I will get the answer. But I some doubts – usually they do not provide wordpress specific problem support.

    And in the worse case what could be the best and total solution do solve the issue?

    Reinstalling worpress, plugins?
    How about my site content and customization?

    Since it is mentioned in the error message, you could try disabling whatever the ‘font typed’ plugin is and see if it goes away. If so, see if there’s an update for that plugin, or find another that does the same thing. It’s possible the message and the ‘potential infection’ are unrelated issues.

    Reinstalling worpress, plugins?
    How about my site content and customization?

    You didn’t mention your WP version, site url or theme, but if you’re using a child theme, any customizations you’ve made to it should still remain intact if you were to reinstall WP or plugins. Even if you aren’t using a child theme, and if you did edit the theme files, as long you don’t update the theme (for now) you should still be fine.

    Thread Starter GThib

    (@gthib)

    Thank you again.

    You knowledge really impress me.
    Here is URL: https://www.artch.ca and WP version is the most recent 4.1.1.
    I use Headway Theme (by Headway Themes)

    If you could and do not mind kindly taking a look at, I will be than grateful.

    PS
    As far as I understand reinstalling wordpress and plugins should fix the problem, am I right (at least once)?

    add

    error_reporting(0);

    to

    wp-config.php

    The error does indicate a problem in the Font_typed plugin. Did you try disabling it? I wouldn’t overdo the re-installing of stuff if it turns out to be just that plugin. Otherwise, try disabling all plugins.

    Also, you have WP Super Cache plugin installed. Make sure you turn that off or clear the cache (in your browser too) to see if there are any changes. BTW, Sucuri sitecheck comes up clean, but it’s not foolproof.

    Thread Starter GThib

    (@gthib)

    This is the message after deactivating font_type plugin (two of them has disappeared):

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method PHPPC::register_admin_menu() should not be called statically in /home2/artchca/public_html/wordpress/wp-includes/plugin.php on line 496

    I have cleaned WP Super Cache cache and here is the results:

    Notice: Undefined variable: deleted in /home2/artchca/public_html/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 810
    Cache Contents

    Notice: Undefined index: listfiles in /home2/artchca/public_html/wordpress/wp-content/plugins/wp-super-cache/wp-cache.php on line 2301

    WP-Cache (0KB)

    0 Cached Pages
    0 Expired Pages

    WP-Super-Cache (0KB)

    0 Cached Pages
    0 Expired Pages

    I have also a message (Wp Super Cache) .htaccess file may need to be moved – .htaccess from wordpress folder to public_htm (I think). Ispite coping the file from worpress folder to public_htlm one the message persists of displaying.

    What a mess!

    I will disable all the plugins and show you the results, if you do not mind, of course.

    Thread Starter GThib

    (@gthib)

    Thanks.
    But this does not solve the problem Just hides it.
    Not my poor mind nor my anxiety, alas.

    Should you have any other idea to solve it, please?

    add

    error_reporting(0);

    to

    wp-config.php

    Thread Starter GThib

    (@gthib)

    I have started to deactivate the plugin and stopped at PHP Code for posts. Deactivating this plugin has make error message disappeared.
    Same message in WP Super Cache option panel though.

    But yesterday there was not any problem on the page…

    In light of the clean report from Sucuri (barring any more news from your web host), and the fact that your site seems to operate normally (at least it does for me), I would add the following to your wp-config.php file:

    define('WP_DEBUG_DISPLAY', false);
    define('WP_DEBUG_LOG', true);

    Those should stop the messages from being output to your pages, and instead send them to a log file that you can continue to track (more effectively) as you troubleshoot. Rajesh Soni was suggesting half of this above, but I wanted you to try disabling the plugin first.

    Not all such messages are a big deal (some of the above are ‘notices’ and not errors), and sometimes they even clear themselves up for reasons related to server issues and who knows what else. Anyway, try that, and clear your cache and take a look.

    Thread Starter GThib

    (@gthib)

    I thank you so much for your kind support and taking your precious time.
    I have been waiting for the hosting provider staff response.
    Perhaps they will find the solution.

    If not, and taking in consideration my peace of mind and my anxiety, would it be more secure and reasonable (for me) to reinstall and perform a very clean install of wordpress without loosing the content, reinstalling plugins, etc.?
    In that case I would sleep quite calmly.

    As far as I know (not much) this could be fairly straightforward process with a minimal risk.

    What would be you advice as an expert, please?
    Independently of the effects I will drop you a line on the results.

    My best regards and thank you very much once more and again.

    I’m afraid you’re highly overestimating my WP knowledge. I know a tiny fraction of what the real experts around here know, but I’m sometimes semi-useful in spite of that. Regardless…

    I would make sure that your plugins are all up to their latest versions. You can replace them with new copies on the server – their settings should be safe in the db. I still suspect one or more of them: the one mentioned above, or even MasterSlider (which is outputting html above the doctype tag in the page). Disable that one as a test.

    If your WP is reasonably up to date, you can easily run an auto-reinstall of it from the Update panel. If you decide to do a manual re-installation (of the current or very close version), you may safely delete and replace all WP files and folders on your server with new copies except:

    don’t touch wp-config.php as it has your db info, and

    don’t touch the wp-content folder (directory) as it has your uploads, theme(s) and plugins. Let me know how it goes.
    Edit: I forgot to mention your theme: refresh that too, if it hasn’t been modified.

    Thread Starter GThib

    (@gthib)

    If you are a fraction-expert I should be a fraction-of-fraction one.

    I have just initiated the built-in re-install option of wordpress.
    Still the same three messages:

    Notice: Undefined variable: page in /home2/artchca/public_html/wordpress/wp-content/plugins/font_typed/font_typed.php on line 44

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method ftanm::register_admin_menu() should not be called statically in /home2/artchca/public_html/wordpress/wp-includes/plugin.php on line 496

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method PHPPC::register_admin_menu() should not be called statically in /home2/artchca/public_html/wordpress/wp-includes/plugin.php on line 496

    I think I will stop my struggle for tonight.
    As soon as I receive a sign from hosting provider I will give you a sign.
    If the problem source is elsewhere, I mean not the wordpress setting. What can cause it?
    Shall I reinstall all plugins?
    What if I rebuild the site from the beginning – in that case how can I preserve the content? I am inclined do do that if I have any sign of strong probability to fix the problem.
    I think I can manage to copy customization entries (often custom css parts in option panels) and… well I think I have got some script addresses in (?),php file – I should be able to copy and paste the code lines afterwards… just thinking aloud…

    Could it be the option – rebuilding the site (not much there, still under construction) preserving customization ans content?
    With you kind helpful suggestion, if you do not mind?

    Hi,

    Theses 3 messages are warning, not errors.

    Just download the new version of the “font_typed” plugin and replace the files.

    Thanks.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Error messages’ is closed to new replies.