MyBB Community Forums

Full Version: Lock - Sell content in hide tags for newpoints points error.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Plugin Name : Lock - Sell content in hide tags for newpoints points.
Dev : Nekomimi

when I active plugin ...

Warning [2] Illegal string offset 'cost' - Line: 39 - File: C:\xampp\forum\inc\plugins\lock\core\shortcode.php PHP 7.1.7 (WINNT)

Warning [2] Cannot assign an empty string to a string offset - Line: 39 - File: C:\xampp\htdocs\forum\inc\plugins\lock\core\shortcode.php PHP 7.1.7 (WINNT)

Warning [2] Illegal string offset 'cost' - Line: 44 - File: C:\xampp\htdocs\forum\inc\plugins\lock\core\shortcode.php PHP 7.1.7 (WINNT)

Warning [2] Illegal string offset 'title' - Line: 78 - File: C:\xampp\htdocs\forum\inc\plugins\lock\core\shortcode.php PHP 7.1.7 (WINNT)

Warning [2] Illegal string offset 'title' - Line: 3 - File: C:\xampp\htdocs\forum\inc\plugins\lock\core\shortcode.php(152) : eval()'d code PHP 7.1.7 (WINNT)

I got those error in showthread page Sad already active newpoints plugin. Finding way to fix that.


[Image: 38998842-79eab312-4416-11e8-8d6d-9057a10b8209.png]
I need helps Sad
add:

$params = array('cost', 'tittle');
Add Where?
Anybody? T_T
Problems Fixed by Adding "$params = array('cost', 'tittle');" at line 22.

Thank for your help. @lsstudios :*
below is image please help where to add in lock.php below given file. In which file that code to be entered? please help.

One issue happens that if I reload the page after payment then it again show the message "content hidden".

Please help me in this matter.


[attachment=42877]