Title: PHP8 FATAL Error
Last modified: June 3, 2022

---

# PHP8 FATAL Error

 *  [darkallman](https://wordpress.org/support/users/darkallman/)
 * (@darkallman)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/php8-fatal-error/)
 * When migrating to PHP8 I got following FATAL ERROR
 *     ```
       PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /httpdocs/wp-content/plugins/mobile-assistant-connector/sa.php:1127
       Stack trace:
       #0 /httpdocs/wp-content/plugins/mobile-assistant-connector/sa.php(1127): implode()\
       #1 /httpdocs/wp-content/plugins/mobile-assistant-connector/mobassistantconnector.php(718): MobileAssistantConnector->get_orders()
       #2 /httpdocs/wp-content/plugins/mobile-assistant-connector/mobassistantconnector.php(702): ma_connector->execute_connector()
       #3 /httpdocs/wp-includes/class-wp-hook.php(307): ma_connector->the_template()
       #4 /httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
       #5 /httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action()
       #6 /httpdocs/wp-include...
       ```
   
 * I could fix this by changing sa.php line 1127:
    `$query_where_parts[] = " posts.
   post_status NOT IN ( '" . implode($this->status_list_hide, "', '") . "' )";` 
   changed to `$query_where_parts[] = " posts.post_status NOT IN ( '" . implode("','",
   $this->status_list_hide) . "' )";``
    -  This topic was modified 3 years, 12 months ago by [darkallman](https://wordpress.org/support/users/darkallman/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp8-fatal-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [darkallman](https://wordpress.org/support/users/darkallman/)
 * (@darkallman)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/php8-fatal-error/#post-15773617)
 * Update fixed most issues. I still see this error after the update:
    `PHP Warning:
   Array to string conversion in /wp-content/plugins/mobile-assistant-connector/
   sa.php on line 1473`
 *  Plugin Author [eMagicOne](https://wordpress.org/support/users/emagicone/)
 * (@emagicone)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/php8-fatal-error/#post-15773757)
 * Hi there,
 * thanks for your feedback.
 * Have you also updated the application itself to 3.1.0?
 * Let us know if the issue occurs on updated connector and application.
 *  Thread Starter [darkallman](https://wordpress.org/support/users/darkallman/)
 * (@darkallman)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/php8-fatal-error/#post-15773883)
 * Im still on version 2 I see, I will try the new version…
 *  Thread Starter [darkallman](https://wordpress.org/support/users/darkallman/)
 * (@darkallman)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/php8-fatal-error/#post-15774097)
 * On version 3.1.0 I still get the error when I open an order in the app:
    `PHP
   Warning: Array to string conversion in /wp-content/plugins/mobile-assistant-connector/
   sanew.php on line 3932`
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [3 years, 11 months ago](https://wordpress.org/support/topic/php8-fatal-error/#post-15777705)
 * [@emagicone](https://wordpress.org/support/users/emagicone/) I have archived 
   your replies and flagged your account for moderation.
 * While I know you have the best of intentions, it’s forum policy that you _not_
   ask users for admin or server access. Users on the forums aren’t your customers,
   they’re your open source collaborators, and requesting that kind of access can
   put you and them at high risk.
 * If they _are_ paying customers (such as people who bought a premium service/product
   from you) then by all means, direct them to your official customer support system.
   But in all other cases, you need to help them here on the forums.
 * Thankfully are other ways to get information you need:
    - Ask the user to install the [Health Check plugin](https://wordpress.org/support/plugin/health-check/)
      and get the data that way.
    - Ask for a link to the [http://pastebin.com/](http://pastebin.com/) or [https://gist.github.com](https://gist.github.com)
      log of the user’s web server error log.
    - Ask the user to create and post a link to their `phpinfo();` output.
    - Walk the user through [enabling WP_DEBUG and how to log that output to a file and how to share that file.](https://wordpress.org/support/article/debugging-in-wordpress/)
    - Walk the user through basic troubleshooting steps such and disabling all other
      plugins, clear their cache and cookies and try again (the Health Check plugin
      can do this without impacting any site vistors).
    - Ask the user for the step-by-step directions on how they can reproduce the
      problem.
 * You get the idea.
 * We know volunteer support is not easy, and this guideline can feel needlessly
   restrictive. It’s actually there to protect you as much as end users. Should 
   their site be hacked or have any issues after you accessed it, you could be held
   legally liable for damages. In addition, it’s difficult for end users to know
   the difference between helpful developers and people with malicious intentions.
   Because of that, we rely on plugin developers and long-standing volunteers (like
   you) to help us and uphold this particular guideline.
 * When you help users _here_ and in public, you also help the next person with 
   the same problem. They’ll be able to read the debugging and solution and educate
   themselves. That’s how we get the next generation of developers.

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

The topic ‘PHP8 FATAL Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mobile-assistant-connector_5c1c89.
   svg)
 * [Mobile Assistant Connector](https://wordpress.org/plugins/mobile-assistant-connector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mobile-assistant-connector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mobile-assistant-connector/)
 * [Active Topics](https://wordpress.org/support/plugin/mobile-assistant-connector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mobile-assistant-connector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mobile-assistant-connector/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/php8-fatal-error/#post-15777705)
 * Status: not resolved