MyBB Community Forums
Lock - Sell content in hide tags for newpoints points error. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Support (https://community.mybb.com/forum-72.html)
+---- Thread: Lock - Sell content in hide tags for newpoints points error. (/thread-217211.html)



Lock - Sell content in hide tags for newpoints points error. - Kiddo Monster - 2018-04-27

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]


RE: Lock - Sell content in hide tags for newpoints points error. - Kiddo Monster - 2018-04-30

I need helps Sad


RE: Lock - Sell content in hide tags for newpoints points error. - lsstudios - 2018-09-10

add:

$params = array('cost', 'tittle');



RE: Lock - Sell content in hide tags for newpoints points error. - Kiddo Monster - 2020-02-03

Add Where?


RE: Lock - Sell content in hide tags for newpoints points error. - Kiddo Monster - 2020-02-05

Anybody? T_T


RE: Lock - Sell content in hide tags for newpoints points error. - Kiddo Monster - 2020-02-08

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

Thank for your help. @lsstudios :*


RE: Lock - Sell content in hide tags for newpoints points error. - Dr_The_One - 2020-05-16

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]