Up to 50 percent off

Whitepage error after install

This topic contains 5 reply and 2 voices, and was last updated by towhid 9 years, 8 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
March 17, 2015 at 4:43 pm 39300
towhid Hey, So we had an old project that was using the Dokan theme (before the plugin was released). We're starting it up again so have downloaded the new Dokan Theme + Plugin. I've installed both but now we're seeing this:
Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /home2/qrmarke1/public_html/wp-content/themes/dokan/functions.php on line 67

Warning: require_once(__DIR__/classes/slider.php) [function.require-once]: failed to open stream: No such file or directory in /home2/qrmarke1/public_html/wp-content/themes/dokan/functions.php on line 71

Fatal error: require_once() [function.require]: Failed opening required '__DIR__/classes/slider.php' (include_path='.:/usr/lib64/php:/usr/share/pear') in /home2/qrmarke1/public_html/wp-content/themes/dokan/functions.php on line 71
Could this have anything to do with the PHP version of our server? Thanks!
March 17, 2015 at 5:52 pm 39304
Paul Paul

Got this sorted now, had to upgrade php version to 5.4

However, getting another error now:

Fatal error: Call to undefined function dokan_is_user_seller() in /home2/qrmarke1/public_html/wp-content/themes/dokan/includes/template-tags.php on line 261

March 17, 2015 at 6:38 pm 39305
towhid towhid

Hello Paul,

Please re-install dokan theme again and see what happen and let me know the result.

Thank You 🙂

March 17, 2015 at 7:03 pm 39307
Paul Paul

I deleted the theme and child theme and re-uploaded the dokan theme zip. After installing, I get the same error:

Fatal error: Call to undefined function dokan_is_user_seller() in /home2/qrmarke1/public_html/wp-content/themes/dokan/includes/template-tags.php on line 261

March 17, 2015 at 9:00 pm 39321
Paul Paul

Working! I uninstalled the theme and plugin again, and installed them both again. No idea what caused this!

March 17, 2015 at 11:19 pm 39334
towhid towhid

Hello Paul,

This is happen if you install theme before install plugin. Ok, Glad to know that the problem has solved. I am going to mark the topic as resolved.

Thank You 🙂

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