Message of the day:
Welcome. Latest release: https://www.silverstripe.org/download Community Forum: https://forum.silverstripe.org Features: https://forum.silverstripe.org/c/feature-ideas Archive: https://slackarchive.silverstripe.org
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
Archive temporarily at https://archive.codingplayground.nl (redirect)
maybe the client dont want that 😢 is there any tricky would solve this issue
PHP 5.6 is end of life - https://www.php.net/supported-versions.php Try get on 7.4 if you can
upgrade the site!
@nightjarnz thanks 🙂 ahh yes it is SSv2 , i use docker as my environment, and it uses php5.6 should i downgrade it or upgrade it ?
@Jerome Camacho The error is to do with the code, not the data. PHP is complaining about
 trying to be used as
It's a notice level error, so not the end of execution. There should be more output beneath that message.
Probably something to do with trying to run a Silverstripe 2 site on a more recent PHP version. I recommend updating as best you can, as soon as you can.
yeah, but the scrapper is running on 5000 records
I have this part
which will identify the two spans, I just need the output to remove them
^ Looks like it just needs the spans removed
any regex experts here 😛 im scrapping a site for import and need to pull out the html bloat on email addresses
- candice<span class="hd-form-field">ajk89;fjioasjdfwjepu90f30 v09u30r nv8704rhnv987rjl3409u0asu[amav084-8235 087307304u0[9fd0]] asf74 john 9@#83r8cva sarah [email protected]!$%#7h v7hgv 398#$&&^@7y9</span>@crosspg<span class="hd-form-field">ajk89;fjioasjdfwjepu90f30 v09u30r nv8704rhnv987rjl3409u0asu[amav084-8235 087307304u0[9fd0]] asf74 john [email protected]#83r8cva sarah [email protected]!$%#7h v7hgv 398#$&&^@7y9</span>.com