Code Monkey home page Code Monkey logo

Comments (5)

freekmurze avatar freekmurze commented on August 19, 2024 1

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.

rsteveyoung avatar rsteveyoung commented on August 19, 2024

captura de pantalla 2016-09-07 a las 23 22 39

from laravel-activitylog.

CrashSensei avatar CrashSensei commented on August 19, 2024

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.

kikz4life avatar kikz4life commented on August 19, 2024

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.

kikz4life avatar kikz4life commented on August 19, 2024

oh its showing
phpinfo() PHP Version => 5.6.30

from laravel-activitylog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.