fatal error post indexer https://everythingouterbanks.com/

My site is showing a fatal error after installing post indexer. This is a fairly clean install. Just redoing my entire website so there are no posts yet.
https://everythingouterbanks.com/

  • Vaughan

    Hi LubyG,

    Hope you're well?

    Can you tell me the exact error you receive? Where are you seeing the error?

    Could you check your servers error logs (Via your servers CPanel) and see if any errors are listed, this will help us debug.

    It seems the support access is broken with an invalid token, could you revoke access & then grant it again, this usually solves the invalid token issue.

    Thanks

  • LubyG

    Here is what the browser says
    Fatal error: Call to undefined function post_indexer_get_log_directory() in /home/everythi/public_html/wp-content/plugins/post-indexer/classes/cron.postindexerrebuild.php on line 24

    Here is the cpanel public_html error. Of course, multiple times.

    [11-Dec-2014 21:11:30 UTC] PHP Fatal error: Call to undefined function network_query_posts() in /home/everythi/public_html/wp-content/plugins/global-site-tags/global-site-tags.php on line 341
    [11-Dec-2014 22:05:50 UTC] PHP Fatal error: Call to undefined function post_indexer_get_log_directory() in /home/everythi/public_html/wp-content/plugins/post-indexer/classes/cron.postindexerrebuild.php on line 24
    [11-Dec-2014 22:06:21 UTC] PHP Fatal error: Call to undefined function post_indexer_get_log_directory() in /home/everythi/public_html/wp-content/plugins/post-indexer/classes/cron.postindexerrebuild.php on line 24

    Here is the error log from the cpanel
    [Thu Dec 11 14:19:45.904854 2014] [:error] [pid 29300:tid 33258384] [client 103.233.251.122:36612] File does not exist: /home/everythi/public_html/browse.php
    [Thu Dec 11 14:19:44.357406 2014] [:error] [pid 29300:tid 45693840] [client 103.233.251.122:41248] File does not exist: /home/everythi/public_html/connector.php
    [Thu Dec 11 14:19:42.608928 2014] [:error] [pid 29300:tid 31157136] [client 103.233.251.122:45714] File does not exist: /home/everythi/public_html/upload.php
    [Thu Dec 11 14:19:39.765960 2014] [:error] [pid 29300:tid 103668624] [client 103.233.251.122:50043] File does not exist: /home/everythi/public_html/upload.php
    [Thu Dec 11 14:19:35.076409 2014] [:error] [pid 29300:tid 25451408] [client 103.233.251.122:48854] File does not exist: /home/everythi/public_html/connector.php
    [Thu Dec 11 14:19:24.333070 2014] [:error] [pid 29300:tid 33258384] [client 103.233.251.122:15087] File does not exist: /home/everythi/public_html/connector.php
    [Thu Dec 11 14:19:17.602727 2014] [:error] [pid 29300:tid 120175504] [client 103.233.251.122:22008] File does not exist: /home/everythi/public_html/connector.php
    [Thu Dec 11 14:19:07.772918 2014] [:error] [pid 29300:tid 133815184] [client 103.233.251.122:26427] File does not exist: /home/everythi/public_html/connector.php
    [Thu Dec 11 14:18:59.408852 2014] [:error] [pid 29188:tid 107613072] [client 103.233.251.122:50498] File does not exist: /home/everythi/public_html/upload.php
    [Thu Dec 11 14:18:56.096889 2014] [:error] [pid 29300:tid 69036944] [client 103.233.251.122:35409] File does not exist: /home/everythi/public_html/upload.php
    [Thu Dec 11 14:18:45.915235 2014] [:error] [pid 29300:tid 66935696] [client 103.233.251.122:15180] File does not exist: /home/everythi/public_html/connector.php
    [Thu Dec 11 14:18:39.336521 2014] [:error] [pid 29300:tid 35359632] [client 103.233.251.122:12080] File does not exist: /home/everythi/public_html/connector.php
    [Thu Dec 11 14:18:32.113499 2014] [:error] [pid 29300:tid 133815184] [client 103.233.251.122:55592] File does not exist: /home/everythi/public_html/upload.php
    [Thu Dec 11 14:18:29.917459 2014] [:error] [pid 29188:tid 124451728] [client 103.233.251.122:63732] File does not exist: /home/everythi/public_html/upload.php
    [Thu Dec 11 04:32:46.477851 2014] [:error] [pid 5195:tid 86899600] [client 198.13.96.234:24171] File does not exist: /home/everythi/public_html/e7xue.php
    [Thu Dec 11 04:32:46.425785 2014] [:error] [pid 5310:tid 20528016] [client 198.13.96.234:48429] File does not exist: /home/everythi/public_html/mytag_js.php
    [Thu Dec 11 04:32:46.381171 2014] [:error] [pid 5310:tid 3083324304] [client 198.13.96.234:45686] File does not exist: /home/everythi/public_html/mytag_js.php
    [Thu Dec 11 04:32:46.333555 2014] [:error] [pid 5195:tid 3074919312] [client 198.13.96.234:24145] File does not exist: /home/everythi/public_html/download.php
    [Thu Dec 11 04:32:45.666334 2014] [:error] [pid 5310:tid 119815056] [client 198.13.96.234:32429] File does not exist: /home/everythi/public_html/download.php
    [Thu Dec 11 04:26:48.516331 2014] [:error] [pid 987:tid 117595024] [client 216.99.145.168:43614] File does not exist: /home/everythi/public_html/e7xue.php
    [Thu Dec 11 04:26:48.466195 2014] [:error] [pid 987:tid 20528016] [client 216.99.145.168:30484] File does not exist: /home/everythi/public_html/mytag_js.php
    [Thu Dec 11 04:26:48.421127 2014] [:error] [pid 987:tid 3053906832] [client 216.99.145.168:12133] File does not exist: /home/everythi/public_html/mytag_js.php
    [Thu Dec 11 04:26:48.369678 2014] [:error] [pid 987:tid 3056008080] [client 216.99.145.168:11493] File does not exist: /home/everythi/public_html/download.php
    [Thu Dec 11 04:26:48.257961 2014] [:error] [pid 987:tid 55327632] [client 216.99.145.168:28119] File does not exist: /home/everythi/public_html/download.php
    [Thu Dec 11 00:19:27.913461 2014] [:error] [pid 17753:tid 89992080] [client 216.99.145.168:52212] File does not exist: /home/everythi/public_html/e7xue.php
    [Thu Dec 11 00:19:27.870625 2014] [:error] [pid 17654:tid 3066514320] [client 216.99.145.168:53494] File does not exist: /home/everythi/public_html/mytag_js.php
    [Thu Dec 11 00:19:27.830670 2014] [:error] [pid 17753:tid 70531984] [client 216.99.145.168:59324] File does not exist: /home/everythi/public_html/mytag_js.php
    [Thu Dec 11 00:19:27.782036 2014] [:error] [pid 17753:tid 53689232] [client 216.99.145.168:37211] File does not exist: /home/everythi/public_html/download.php
    [Thu Dec 11 00:19:27.717066 2014] [:error] [pid 17753:tid 112552848] [client 216.99.145.168:22464] File does not exist: /home/everythi/public_html/download.php
    [Wed Dec 10 23:20:21.713237 2014] [:error] [pid 24160:tid 3085425552] [client 108.73.73.5:23414] File does not exist: /home/everythi/public_html/signup.php
    [Wed Dec 10 23:20:21.522564 2014] [:error] [pid 24160:tid 138251152] [client 108.73.73.5:20467] File does not exist: /home/everythi/public_html/signup.php
    [Wed Dec 10 23:20:21.356461 2014] [:error] [pid 24160:tid 123489168] [client 108.73.73.5:28532] File does not exist: /home/everythi/public_html/login.php
    [Wed Dec 10 23:20:19.604819 2014] [:error] [pid 24160:tid 93760400] [client 108.73.73.5:27333] File does not exist: /home/everythi/public_html/login.php
    [Wed Dec 10 23:20:18.336110 2014] [:error] [pid 24160:tid 84245392] [client 108.73.73.5:39004] File does not exist: /home/everythi/public_html/tiki-register.php
    [Wed Dec 10 23:20:16.904916 2014] [:error] [pid 24080:tid 27044752] [client 108.73.73.5:52026] File does not exist: /home/everythi/public_html/doku.php
    [Wed Dec 10 22:53:20.601287 2014] [:error] [pid 13872:tid 60279696] [client 198.1.99.213:25518] File does not exist: /home/everythi/public_html/admin.php
    [Wed Dec 10 21:39:25.839470 2014] [:error] [pid 18941:tid 80194448] [client 216.99.145.168:63413] File does not exist: /home/everythi/public_html/e7xue.php
    [Wed Dec 10 21:39:25.789389 2014] [:error] [pid 18941:tid 90545040] [client 216.99.145.168:34384] File does not exist: /home/everythi/public_html/mytag_js.php
    [Wed Dec 10 21:39:25.674662 2014] [:error] [pid 18941:tid 3085425552] [client 216.99.145.168:62333] File does not exist: /home/everythi/public_html/mytag_js.php
    [Wed Dec 10 21:39:25.628766 2014] [:error] [pid 18941:tid 124058512] [client 216.99.145.168:45654] File does not exist: /home/everythi/public_html/download.php
    [Wed Dec 10 21:39:25.550968 2014] [:error] [pid 18941:tid 72371088] [client 216.99.145.168:55581] File does not exist: /home/everythi/public_html/download.php
    [Wed Dec 10 19:49:36.325987 2014] [:error] [pid 7083:tid 19786640] [client 216.99.145.168:54011] File does not exist: /home/everythi/public_html/e7xue.php
    [Wed Dec 10 19:49:36.277217 2014] [:error] [pid 7188:tid 59042704] [client 216.99.145.168:36120] File does not exist: /home/everythi/public_html/mytag_js.php
    [Wed Dec 10 19:49:36.233737 2014] [:error] [pid 7188:tid 88775568] [client 216.99.145.168:15780] File does not exist: /home/everythi/public_html/mytag_js.php
    [Wed Dec 10 19:49:36.188965 2014] [:error] [pid 7083:tid 44899216] [client 216.99.145.168:36457] File does not exist: /home/everythi/public_html/download.php
    [Wed Dec 10 19:49:36.114471 2014] [:error] [pid 7188:tid 54840208] [client 216.99.145.168:57601] File does not exist: /home/everythi/public_html/download.php
    [Wed Dec 10 19:16:18.063786 2014] [:error] [pid 27539:tid 88963984] [client 216.99.145.168:65152] File does not exist: /home/everythi/public_html/e7xue.php
    [Wed Dec 10 19:16:18.022278 2014] [:error] [pid 27439:tid 74492816] [client 216.99.145.168:49652] File does not exist: /home/everythi/public_html/mytag_js.php
    [Wed Dec 10 19:16:17.975850 2014] [:error] [pid 27539:tid 114899856] [client 216.99.145.168:27513] File does not exist: /home/everythi/public_html/mytag_js.php
    [Wed Dec 10 19:16:17.935935 2014] [:error] [pid 27539:tid 21887888] [client 216.99.145.168:63745] File does not exist: /home/everythi/public_html/download.php
    [Wed Dec 10 19:16:17.873308 2014] [:error] [pid 27539:tid 130108304] [client 216.99.145.168:63990] File does not exist: /home/everythi/public_html/download.php
    [Wed Dec 10 18:56:07.829212 2014] [:error] [pid 18607:tid 116521872] [client 216.99.145.168:24379] File does not exist: /home/everythi/public_html/e7xue.php
    [Wed Dec 10 18:56:07.787569 2014] [:error] [pid 18607:tid 121232272] [client 216.99.145.168:44089] File does not exist: /home/everythi/public_html/mytag_js.php
    [Wed Dec 10 18:56:07.745498 2014] [:error] [pid 18607:tid 19786640] [client 216.99.145.168:62788] File does not exist: /home/everythi/public_html/mytag_js.php
    [Wed Dec 10 18:56:07.700866 2014] [:error] [pid 18607:tid 89004944] [client 216.99.145.168:42525] File does not exist: /home/everythi/public_html/download.php
    [Wed Dec 10 18:56:07.588809 2014] [:error] [pid 18607:tid 69536656] [client 216.99.145.168:32377] File does not exist: /home/everythi/public_html/download.php
    [Wed Dec 10 15:04:25.577280 2014] [:error] [pid 22842:tid 28535696] [client 70.215.71.47:51708] File does not exist: /home/everythi/public_html/directory.php
    [Wed Dec 10 04:28:42.053898 2014] [:error] [pid 30068:tid 3083324304] [client 216.99.145.168:51962] File does not exist: /home/everythi/public_html/e7xue.php
    [Wed Dec 10 04:28:40.708802 2014] [:error] [pid 30144:tid 60087184] [client 216.99.145.168:25793] File does not exist: /home/everythi/public_html/mytag_js.php
    [Wed Dec 10 04:28:38.412132 2014] [:error] [pid 30144:tid 74570640] [client 216.99.145.168:50241] File does not exist: /home/everythi/public_html/mytag_js.php
    [Wed Dec 10 04:28:37.118716 2014] [:error] [pid 30144:tid 49974160] [client 216.99.145.168:46892] File does not exist: /home/everythi/public_html/download.php
    [Wed Dec 10 04:28:34.709761 2014] [:error] [pid 30144:tid 79076240] [client 216.99.145.168:12427] File does not exist: /home/everythi/public_html/download.php
    [Tue Dec 09 23:01:07.264213 2014] [:error] [pid 7623:tid 89545616] [client 188.165.15.5:20855] File does not exist: /home/everythi/public_html/list.php

  • Jack Kitterhing

    Hi there @LubyG,

    Hope you're well today and thanks for your question.

    I've been doing some testing on this and haven't been able to replicate, would you be able to send me the following please so I can do some further testing on your actual install?

    - In the subject field add "Attn: Jack Kitterhing"
    - Link back to this thread
    - Include admin/network access
    - Include FTP
    - Include cPanel for database access.
    - Include any relevant URLS for your site

    On the contact form, select "I have a different question", this ensures it comes through and gets assigned to me.

    https://premium.wpmudev.org/contact/

    Thank you!

    Kind Regards
    Jack.

  • Jose

    Hello @LubyG,

    Hope you are doing fantastic today.

    This issue was really hard to spot, but the explanation is quite interesting.

    Our plugin includes the dependencies using something like this:
    require_once 'includes/functions.php';
    It works just fine in any other installation, except yours.
    Why?
    Simply because in your root directory you have a folder called 'includes', which contains a file called 'functions.php'. (I assume this is something running in parallel to your WP install. If you are not using it, you better get rid of it).
    When using relative paths for include or require, PHP will look for the file into the defined include_path in your php.ini. If there are no paths defined or anything is found, it will look into the current working directory and, finally, into the script directory.
    Hence, it was matching the required string path with the external functions.php file and therefore loading a totally different file.

    This is actually a bad approach in our plugin, so I changed the relative paths to absolute paths by doing the following:

    define( 'POST_INDEXER_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    //...
    require_once POST_INDEXER_PLUGIN_DIR . 'includes/functions.php';

    This patch is already pushed to your site, and should be included in future releases.

    Please let us know if everything works as expected.

    Cheers,
    Jose

  • LubyG

    Hi Jose,
    Thanks. I'm sure that was tricky to find. Yes, we are using the includes/functions.php file to run our legacy website directory. It is so well indexed with Google we can't get rid of it. I would love to know how to call our website directory listings into a wordpress page but so far I've not been able to find out how to do that.

    Interestingly enough, Google had a couple teleconferences with me and my team years back about our system's ability to serve up related listings with the Adsense Bot. The they bought Double Click and our income went from thousands per month to just a few hundred. Even though the money is gone the indexed pages still resolve well. If you have any advice I'm looking to pay a little something to figure this out.

  • Jose

    Hey @LubyG,

    If you have any advice I'm looking to pay a little something to figure this out.

    Unfortunately, staff people can't be hired. You can find good pros in our job board though.

    Eitherway, I'd advise you to open a new thread to discuss this issue so that we can keep track and provide better support. Maybe we can come up with a quick workaround, or confirm if you need to hire a dev.

    Hope this helps

    Cheers,
    Jose