Title: Plugin Not Activating with PHP version 8.1 and WordPress version 6.3
Last modified: September 1, 2023

---

# Plugin Not Activating with PHP version 8.1 and WordPress version 6.3

 *  Resolved [ajdalola](https://wordpress.org/support/users/ajdalola/)
 * (@ajdalola)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-activating-with-php-version-8-1-and-wordpress-version-6-3/)
 * Is there an update for MSTW CSV Exporter v1.3?
 * We are getting the following error when trying to activate:
 * TypeError thrown
   call_user_func_array(): Argument #1 ($callback) must be a valid
   callback, class MSTW_CSVX does not have a method “mstw”
 * We are using PHP version 8.1 and WordPress version 6.3
 * We are able to activate this plugin on our backup site that is using PHP version
   7.4 and WordPress version 6.3
 * We have been using your plugins for many years and are especially grateful for
   you and your great products!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-activating-with-php-version-8-1-and-wordpress-version-6-3/#post-17031449)
 * Thanks for posting here and for the diagnostic info. That’s helpful. What data
   are you most interested in, I’ll check that out first after it installs.
 * -Mark
 *  Thread Starter [ajdalola](https://wordpress.org/support/users/ajdalola/)
 * (@ajdalola)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-activating-with-php-version-8-1-and-wordpress-version-6-3/#post-17031465)
 * Game info:
 * This is typical export file header:
 * game_title,game_slug,game_sched_id,game_time_tba,game_unix_dtg,game_opponent_team,
   game_gl_location,game_is_home_game,game_opponent,game_opponent_link,game_location,
   game_location_link,game_our_score,game_opp_score,game_curr_period,game_curr_time,
   game_is_final,game_result,game_media_label_1,game_media_label_2,game_media_label_3,
   game_media_url_1,game_media_url_2,game_media_url_3,game_scoreboard
 * We export daily to create team/organization statistics in external spreadsheet.
    -  This reply was modified 2 years, 9 months ago by [ajdalola](https://wordpress.org/support/users/ajdalola/).
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-activating-with-php-version-8-1-and-wordpress-version-6-3/#post-17031669)
 * Got it. Thanks.
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-activating-with-php-version-8-1-and-wordpress-version-6-3/#post-17034478)
 * Yes, things look fine on 7.4. The issue is PHP 8. Unfortunately, it’s going to
   take a bit to get my local test environment updated to PHP 8.1, but stay tuned,
   I’ll get there. I expect it to be a straightforward fix, I just can’t seem to
   see it without “breaking it”.
 * -Mark
 *  Thread Starter [ajdalola](https://wordpress.org/support/users/ajdalola/)
 * (@ajdalola)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-activating-with-php-version-8-1-and-wordpress-version-6-3/#post-17037096)
 * I followed your instructions and replaced the mstw-csv-exporter.php fie and the
   plugin successfully activated!! I tested some CSV exports within WP and all performed
   successfully. Thank you very much Mark!! You are the Master and your work is 
   very much appreciated!!
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-activating-with-php-version-8-1-and-wordpress-version-6-3/#post-17037162)
 * Super. I now have a PHP 8 test environment and will be working through all the
   plugins. I will be posting new releases as needed.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Plugin Not Activating with PHP version 8.1 and WordPress version 6.3’
is closed to new replies.

 * ![](https://ps.w.org/mstw-csv-exporter/assets/icon-128x128.png?rev=1087829)
 * [MSTW CSV EXPORTER](https://wordpress.org/plugins/mstw-csv-exporter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mstw-csv-exporter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mstw-csv-exporter/)
 * [Active Topics](https://wordpress.org/support/plugin/mstw-csv-exporter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mstw-csv-exporter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mstw-csv-exporter/reviews/)

## Tags

 * [installation problem](https://wordpress.org/support/topic-tag/installation-problem/)

 * 6 replies
 * 2 participants
 * Last reply from: [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-activating-with-php-version-8-1-and-wordpress-version-6-3/#post-17037162)
 * Status: resolved