Title: Debug on moolamojo basic.php
Last modified: August 5, 2019

---

# Debug on moolamojo basic.php

 *  Resolved [lafargue](https://wordpress.org/support/users/lafargue/)
 * (@lafargue)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/debug-on-moolamojo-basic-php/)
 * Hello, I just run debug mode on wordpress to fix a problem with anothe plugin,
   and got prompted with “Undefined index: page in html/www/wp-content/plugins/moolamojo/
   models/basic.php line 157”, not sure if that’s the exact text, but I fixed the
   issue thanks to this thread [in stackoverflow](https://stackoverflow.com/questions/12468275/undefined-index-page-in).
   
   Just made this change
 *     ```
       if (isset($_GET['page'])) {
       		if (!session_id() and (strstr($_GET['page'], 'moolamojo') or !is_admin()) ) {
       				@session_start();
       		}
               }
       ```
   
 * Hope you can add this in the next update.
    Awesome plugin, keep the good work.

The topic ‘Debug on moolamojo basic.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/moolamojo_28c4ff.svg)
 * [MoolaMojo](https://wordpress.org/plugins/moolamojo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/moolamojo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/moolamojo/)
 * [Active Topics](https://wordpress.org/support/plugin/moolamojo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/moolamojo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/moolamojo/reviews/)

## Tags

 * [opensource](https://wordpress.org/support/topic-tag/opensource/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [lafargue](https://wordpress.org/support/users/lafargue/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/debug-on-moolamojo-basic-php/)
 * Status: resolved