MarketPress requires a database update to continue working correctly.

MarketPress requires a database update to continue working correctly.

I follow the process.

The bar scrolls.

Says it is complete.

Message remains.

I have logged out and logged back in.

Can’t really get this working.

  • Tyler Postle
    • Recruit

    Hey Tydbytes,

    Hope you’re doing well this weekend!

    Have you checked your error logs at all? It’s likely there is some sort of conflict that is stopping it from properly processing here, error logs should give us some hints. Another option is to deactivate all your other plugins and then try it again to make sure that it’s not a plugin conflict that is causing it.

    I’d like to see what it says when wp_debug is enabled: https://codex.wordpress.org/WP_DEBUG

    If you would like us to check that then could you send in your FTP credentials?

    You can send that privately through our contact form: https://wpmudev.com/contact/

    Select “I have a different question” for your topic – this and the subject line ensure that it gets assigned to me.

    Send in:

    Subject: “Attn: Tyler Postle

    -WordPress admin username

    -WordPress admin password

    -login url

    -FTP credentials (host/username/password)

    -link back to this thread for reference

    -any other relevant urls

    **If you keep support access active then no need to send in wp-admin

    Look forward to hearing back!

    Cheers,

    Tyler

  • Tydbytes
    • Flash Drive

    Thanks Tyler,

    At the moment I am not interested in investing my time in software debugging etc. I am interested in seeing if I can add some courses so I am going to work with setting up CoursePress Pro :slight_smile:

    I have there uninstalled MarketPress Lite and CoursePress Pro is working well.

    After I have setup a course or two, instructors and so forth I’ll reinstall MarketPress Lite and see what happens. I suspect that because I didn’t have courses added and so forth that MarketPress Lite didn’t have any data to work with.

    Thanks for your quick response and support. I’ll keep you posted.

    Best regards,

    Richard

  • Tydbytes
    • Flash Drive

    Added a course.

    Installed Marketpress.

    The same message came up and I ran the process.

    It completed and said all was ok

    Plugin notification that there was a MarketPress update.

    Ran update automatically

    It updated successfully but above the message was the following:

    Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in …./public_html/courses/wp-content/plugins/marketpress/includes/common/class-mp-installer.php on line 1020

    Warning: Invalid argument supplied for foreach() in …./public_html/courses/wp-content/plugins/marketpress/includes/common/class-mp-installer.php on line 1021

    What does this mean?

    Thanks

  • Tyler Postle
    • Recruit

    Hey Tydbytes,

    Thanks for the additional information.

    At the moment I am not interested in investing my time in software debugging etc.

    I can do the debugging for you if you don’t mind supplying FTP access :slight_smile:

    Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in …./public_html/courses/wp-content/plugins/marketpress/includes/common/class-mp-installer.php on line 1020

    Warning: Invalid argument supplied for foreach() in …./public_html/courses/wp-content/plugins/marketpress/includes/common/class-mp-installer.php on line 1021

    What does this mean?

    Usually PHP warnings like these wouldn’t affect actual functionality; however, I’m asking the developer to make sure it wouldn’t be part of the issue here as the file indicated is involved in the db update.

    By the way, the fact you saw those debug warnings means you have wp_debug_display set to true. Normally you would only want this set that way if you’re debugging an issue, so it did come in handy right now :smiley: although in the future you will want to make sure this is set in your wp-config.php:

    define( 'WP_DEBUG_DISPLAY', false );

    It might already be set there as “true” and in that case, just change it to false. That will ensure those debug warnings/errors don’t display on your site.

    I see you’ve removed both plugins from your site now. Do you mind if I re-install them to troubleshoot further?

    Talk to you soon!

    Cheers,

    Tyler

  • Tydbytes
    • Flash Drive

    Thanks for the update Tyler,

    With regard to the debug info I had installed a Debug plugin to see what was going on.

    I removed MarketPress Lite and CoursePress Pro because I realized that CoursePress doesn’t have a couple of features that I was looking for so need to reinstall them. Thanks. Your support has been excellent.

  • Tyler Postle
    • Recruit

    Hey Tydbytes,

    Ah, no problem :slight_smile:

    May I ask what features they were? I can add them as requests so they might be included in future updates to CoursePress.

    Also, do you happen to know what your PHP version was on your site? I passed those php warnings you shared onto the developer and they were wondering what your PHP version is.

    I totally understand if you’re already way past this so definitely no need to respond :slight_smile:

    Cheers,

    Tyler

  • Sajid
    • DEV MAN’s Sidekick

    Hi Tydbytes,

    Hope you are doing good today and thanks for sharing the information :slight_smile:

    I will pass along this useful information that will definitely help our developers and ultimately other members of the community in future.

    Take care and have a nice day :slight_smile:

    Best Regards,

    Sajid