• Resolved Capt_Zeanie

    (@capt_zeanie)


    Hi,

    I have just looked at my Apache2 error logs and notice loads of errors by Jetpack. Is this normal or an issue?

    [Tue Jan 05 00:11:54.689600 2016] [:error] [pid 2784:tid 912] [client 23.30.77.217:30516] PHP Notice: Use of undefined constant ABSPATH – assumed ‘ABSPATH’ in C:\\Users\\Fred\\Documents\\wampstack\\apps\\domain\\htdocs\\wp-content\\plugins\\jetpack\\class.jetpack-ixr-client.php on line 3
    [Tue Jan 05 00:11:54.689600 2016] [:error] [pid 2784:tid 912] [client 23.30.77.217:30516] PHP Notice: Use of undefined constant WPINC – assumed ‘WPINC’ in C:\\Users\\Fred\\Documents\\wampstack\\apps\\domain\\htdocs\\wp-content\\plugins\\jetpack\\class.jetpack-ixr-client.php on line 3
    [Tue Jan 05 00:11:54.689600 2016] [:error] [pid 2784:tid 912] [client 23.30.77.217:30516] PHP Warning: require_once(ABSPATHWPINC/class-IXR.php): failed to open stream: No such file or directory in C:\\Users\\Fred\\Documents\\wampstack\\apps\\domain\\htdocs\\wp-content\\plugins\\jetpack\\class.jetpack-ixr-client.php on line 3
    [Tue Jan 05 00:11:54.689600 2016] [:error] [pid 2784:tid 912] [client 23.30.77.217:30516] PHP Fatal error: require_once(): Failed opening required ‘ABSPATHWPINC/class-IXR.php’ (include_path=’.;C:/Users/Fred/Documents/wampstack/php/PEAR;C:/Users/Fred/Documents/wampstack/frameworks/smarty/libs’) in C:\\Users\\Fred\\Documents\\wampstack\\apps\\domain\\htdocs\\wp-content\\plugins\\jetpack\\class.jetpack-ixr-client.php on line 3

    https://wordpress.org/plugins/jetpack/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    That seems to be an issue with your local development environment.

    PHP Notice: Use of undefined constant ABSPATH

    That message will appear when wp-load.php hasn’t been loaded. That file should be the first to load when WordPress is loaded, but for some reason that’s not happening in your case.

    If your WordPress site is in fact working properly, and if the error only appears for the class.jetpack-ixr-client.php file, it could be because your local PHP installation doesn’t include the necessary libraries to be able to use XML-RPC and the IXR client. It might be worth checking your local environment PHP settings, and make sure everything is up to date.

    In general, I’d recommend turning on Jetpack’s Development mode when working locally:
    http://jetpack.me/support/development-mode/

    While that may not solve your issues, Jetpack won’t try to connect to the outside world through XML-RPC when Dev mode is active.

    I hope this helps.

    Thread Starter Capt_Zeanie

    (@capt_zeanie)

    Thanks for the reply.

    Yes, everytrhing seems to be running fine, no other issues.

    My server shows it is running RPC when I do a php_info() call. In the XMLRPC section it shows.

    xmlrpc
    core library version xmlrpc-epi v. 0.51
    php extension version 0.51
    author Dan Libby
    homepage http://xmlrpc-epi.sourceforge.net
    open sourced by Epinions.com

    The php.ini file has…

    extension=php_xmlrpc.dll

    ; Turn off normal error reporting and emit XML-RPC error XML
    ; http://php.net/xmlrpc-errors
    ;xmlrpc_errors = 0

    ; An XML-RPC faultCode
    ;xmlrpc_error_number = 0

    Is that the correct lib file running for this all to work or could I be missing something else.

    I shall keep looking

    Thread Starter Capt_Zeanie

    (@capt_zeanie)

    I have just tried the wordpress xml-rpc validator at
    http://xmlrpc.eritreo.it/#

    and it worked fine.

    So it looks like I have xml-rpc running on the server.

    So I now need to try an look why wp-load as you mentioned might not be loading.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    So I now need to try an look why wp-load as you mentioned might not be loading.

    Let me know how it goes!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Jetpac Errors’ is closed to new replies.