Comments (5)
Probably your cron jobs are still using an old PHP version.
Inside a cronjob try running this code (typed up quick, not tested)
<?php
ob_start();
phpinfo();
$phpinfoContents = ob_get_contents();
ob_clean();
file_put_contents('path_to_a_file', $phpinfoContents);
Of course change that path_to_a_file
to something real.
Check the PHP version in that file.
from laravel-activitylog.
from laravel-activitylog.
It looks like you are using PHP5 instead of PHP7 which is not supported by laravel-activitylog.
If you cannot upgrade to PHP7 then I suggest using my backport of laravel-activitylog which works with PHP5 laravel-activitylog-backport
from laravel-activitylog.
I'm having this problem also. I'm running on php 7. Here is my php -v result
PHP 7.0.15 (cli) (built: Feb 13 2017 10:30:54) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.15, Copyright (c) 1999-2017, by Zend Technologies with Xdebug v2.4.1, Copyright (c) 2002-2016, by Derick Rethans
By the way this only happens when I'm running cron jobs. :(. Please help
from laravel-activitylog.
oh its showing
phpinfo() PHP Version => 5.6.30
from laravel-activitylog.
Related Issues (20)
- Laravel-activitylog not installing HOT 5
- Documentation for V3 and V4 missing from Spatie website HOT 1
- Not saving Auth user information when I use with model operations. HOT 2
- Bulk Update Logging Not working HOT 1
- Properties empty []
- Properties empty [] HOT 1
- updateOrCreate() does not log anything HOT 1
- Log many to many doesn't work HOT 1
- Log Activity not working from inside Model boot method HOT 1
- Laravel 11 didnt register activity HOT 3
- Version 4.8.0 Call to undefined method App\Models\User::getStorableEnumValue() HOT 4
- Migration wasn't created HOT 2
- LogsActivity::$changesPipes should be cleared HOT 7
- Updated attribute not being flagged as dirty
- Broken Link
- Call to undefined method getStorableEnumValue()
- Gett subject relation null HOT 2
- after install the package, unable to use the feature at volt component HOT 2
- "tapActivity" method called twice during the model event logging
- "tapActivity" method called twice during the model event logging
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-activitylog.