Search
Other Sourcerer questions
Forum

Return value must be of type string, null returned

Jacob Hodara's Avatar Jacob Hodara
Hi
Using sourcer getting errro 0 - RegularLabs\Library\RegEx::replace(): Return value must be of type string, null returned
RegularLabs\Library\RegEx::replace(): Return value must be of type string, null returned
ibraries/regularlabs/src/RegEx.php:139

Call stack
# Function Location
1 () JROOT/libraries/regularlabs/src/RegEx.php:139
2 RegularLabs\Library\RegEx::replace() JROOT/plugins/system/sourcerer/src/Replace.php:162
3 RegularLabs\Plugin\System\Sourcerer\Replace::cleanTags() JROOT/plugins/system/sourcerer/src/Replace.php:431
4 RegularLabs\Plugin\System\Sourcerer\Replace::replaceTagsAll()

I checked over forum for similar issue and the memory limit is already 1GB on website.
Issue only when the content is longer.
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Jacob Hodara's Avatar Jacob Hodara
Hi Peter
I tried the Dev release a different error now
RegularLabs\Plugin\System\Sourcerer\Replace::replaceTagsByType(): Argument #1 ($string) must be of type string, null given, called in /plugins/system/sourcerer/src/Replace.php on line 396
/plugins/system/sourcerer/src/Replace.php:494
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the new development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Jacob Hodara's Avatar Jacob Hodara
Hi Peter
installed v10.1.2PRO-dev2934003

0 - RegularLabs\Plugin\System\Sourcerer\Replace::handleMatch(): Return value must be of type string, null returned
RegularLabs\Plugin\System\Sourcerer\Replace::handleMatch(): Return value must be of type string, null returned
/plugins/system/sourcerer/src/Replace.php:300

Call stack
# Function Location
1 () JROOT/plugins/system/sourcerer/src/Replace.php:300
2 RegularLabs\Plugin\System\Sourcerer\Replace::handleMatch() JROOT/plugins/system/sourcerer/src/Replace.php:64
3 RegularLabs\Plugin\System\Sourcerer\Replace::replace() JROOT/plugins/system/sourcerer/sourcerer.php:132
Peter van Westen's Avatar Peter van Westen ADMIN
Hmmm, not sure why that is happening...
Can you give me (super) admin and (s)ftp access so I can take a look?
And tell me on what url I can see/reproduce the issue.
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Jacob Hodara's Avatar Jacob Hodara
Hi Peter i need to attach PPK file. can u share where i can send it to you?
Peter van Westen's Avatar Peter van Westen ADMIN
regularlabs.com/contact
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription