Event plugin interoperability issue using the WordPress command line interface

Home Forums Calendar Products Events Calendar PRO Event plugin interoperability issue using the WordPress command line interface

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #445562
    csheldon
    Participant

    Our service provider uses http://wp-cli.org/ to push staging instances of WordPress sites to production. (www.ua.siteground.com). The technical support folks have analyzed an issue and indicated that
    both 1) plugins/the-events-calendar/ and 2) plugins/events-calendar-pro/.
    are causing the command line to fail. We have updated the plugins to the latest versions. Our service provider indicated that “The issue was not to the version of the plugins but the code they use”.

    #459179
    Barry
    Member

    Hi – sorry you’re hitting difficulties here.

    Is any more detail available?

    • Which WP CLI commands exactly are being used and does this rely on any extending WP CLI with additional packages (if so, which ones)?
    • When you say the command line fails, is there an actual error (or list of errors) you can provide us with?
    • Your service provider indicated it is an issue with the code – have they identified anything in particular?

    We’d love to hear more so we can give this some more consideration – but perhaps in the meantime you or your service provider can use some other means to move the plugins over to the production site?

    #480639
    csheldon
    Participant

    From the web hosting site:
    Our System Administrator was introduced to the issue and performed the following detailed research. They have understood that the issue is due to the fact that the search-replace that is run in the scripts of the Staging tool fails. The reason for it is the plugin events-calendar-pro and the theme Lelemin. They have moved the plugin out of the plugin directory and also renamed the theme directory to Lelemin_orig/, after which I created a symlink from the theme twentythirteen to Lelemin and the wp search-replace worked correctly.

    Changes are now reverted by them so that your site remains intact.
    —————————
    Essentially the search/replace failed using the PRO plugin and the specific theme mentioned. Looks like the site did a workaround, however the issue remains. The theme is named (Lelemin), I wonder if there is a way for you to take a look at the theme (responsive theme) and PRO to see what could be going wrong with the search/replace.

    #496277
    Barry
    Member

    We’d love to help if we can but, honestly, the base problem remains unclear.

    So far I understand that some issue crops up if WP CLI’s search-replace command is used: can you share the actual parameters being used here? Certainly if your service provider’s script starts modifying database entries (even if they happen to use a respected tool like WP CLI to accomplish this) I’m not sure that by itself indicates there is a real problem in our plugin code.

    • Are they trying to use the search-replace command to update URLs throughout the database, or something else?
    • What is the actual problem that results from this? I understand your host’s deployment script is failing, but as you can appreciate it’s very hard for us to know what’s going on within that script – is a specific error generated by this command that you or they can share with us?

    Thanks!

     

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Event plugin interoperability issue using the WordPress command line interface’ is closed to new replies.