• Resolved Allen

    (@lawdoggy99)


    I am working on a local copy of my site for development – so the URLs you will see below are just local. I have about 25,000 posts that I need to internally link – all of the links are the post titles. I used AP All Export and WP All Import to update the ilj_linkdefinition to create the Title as the Keyword in each of the posts. This part seems to have worked perfectly because the keyword shows up for each post. When I run the index, it works, but it throws a few errors in the process. It throws about 100 of the following errors right at the beginning of processing:

    PHP Warning: Invalid argument supplied for foreach() in C:\Users\Allen\Documents\Websites\www.texasworker.dev.cc\wp-content\plugins\internal-links-premium\core\indexbuilder.php on line 172
    Warning: Invalid argument supplied for foreach() in C:\Users\Allen\Documents\Websites\www.texasworker.dev.cc\wp-content\plugins\internal-links-premium\core\indexbuilder.php on line 172

    Then it throws 1 or 2 of the following errors:

    PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in C:\Users\Allen\Documents\Websites\www.texasworker.dev.cc\wp-content\plugins\internal-links-premium\helper\indexasset.php on line 68
    Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in C:\Users\Allen\Documents\Websites\www.texasworker.dev.cc\wp-content\plugins\internal-links-premium\helper\indexasset.php on line 68

    Even with the errors, ultimately it seems like it is working. Although, with so many posts it would be hard to notice just a few that did not have the keywords. As a side note, I get “out of memory” errors when I try to use the Automatic processing of the index. I am simply using the None with the wp-cli command line.

Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    For pro or commercial product support please contact the author directly on their site. This includes any pre-sales topics as well.

    As the author is aware, commercial products are not supported in these forums. I am sure they will have no problem supporting you there.

Viewing 1 replies (of 1 total)
  • The topic ‘Errors with WP-Cli indexing’ is closed to new replies.