Forum Replies Created
-
AuthorPosts
-
August 6, 2020 at 12:20 pm in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1100facerParticipant
That did it I had to disable an old php apache2 module. After that all seem to be working.
Very happy with the result and thx again!
August 6, 2020 at 11:50 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1099facerParticipantI was always thinking I was using php 7.4.3 since it showed that in my terminal when I did:
php –version
PHP 7.4.3 (cli) (built: May 26 2020 12:24:22) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.3, Copyright (c), by Zend TechnologiesBut when I use http://localhost/simpleinvoices/phpinfo.php as you suggested it shows a different version: PHP Version 7.0.33 so I guess apache2 webserver is using a different one as the terminal shows. Time to investigate further.
August 5, 2020 at 12:05 pm in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1091facerParticipantFor the pdf export I will attach a new php.log
Attachments:
August 5, 2020 at 11:44 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1086facerParticipantIt is unbelievable but true, it runs again after the command you told me to run.
If you were living close by, I would buy you a beer but I checked and saw that you are far away.
Thank you for not giving up.
I learned some new things as well.see attachments 😉
The only thing that is left is the export to pdf
Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export::setFormat() must be an instance of Inc\Claz\void, none returned in /var/www/html/simpleinvoices/Inc/Claz/Export.php:504 Stack trace: #0 /var/www/html/simpleinvoices/modules/export/invoice.php(20): Inc\Claz\Export->setFormat(‘pdf’) #1 /var/www/html/simpleinvoices/index.php(375): include(‘/var/www/html/s…’) #2 {main} thrown in /var/www/html/simpleinvoices/Inc/Claz/Export.php on line 504
- This reply was modified 4 years, 3 months ago by facer.
- This reply was modified 4 years, 3 months ago by facer.
Attachments:
August 4, 2020 at 11:15 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1063facerParticipantOkay I tried the pdoDb9.zip and I uploaded the new php.log
and I tried the 2 commands advised in the php.log
UPDATE si_cron_log SET cron_id = 6 WHERE cron_id IN (2,3);
—- or —-
DELETE FROM si_cron_log WHERE cron_id IN (2,3);But it made no difference
- This reply was modified 4 years, 3 months ago by facer.
- This reply was modified 4 years, 3 months ago by facer.
Attachments:
August 4, 2020 at 11:09 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1062facerParticipantI totally forgot to try the new PdoDb.php
Will try the new PdoDb.php and report back to you. I already got troubles by purging mysql and installing mariadb with my other databases. At least I got all my other things running again now 😉August 4, 2020 at 2:46 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1058facerParticipantIt seems that from mysql 8 and mariadb 10.2 on this setting can not be changed easily.
when I set lower_case_table_names=2 in my.cnf it gives errors and mysql won’t start.
Then I red that it can only be configured when initializing the server. Changing the lower_case_table_names setting after the server is initialized is prohibited.removed all and reinitialized mariadb but nothing works with the newer version on Linux.
It always comes up with: mysql: unknown variable ‘lower_case_table_names=2’Although I learned a lot. I have to give up and I will setup a new fresh database and start brand new.
This is way above my head, I am reading lot’s of people with newer Mysql/mariadb versions having trouble Changing the lower_case_table_names setting.Thank you for all your work !
July 30, 2020 at 4:12 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1045facerParticipantand here is the result of the command in the attached picture
Attachments:
July 29, 2020 at 5:39 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1040facerParticipantI typed the whole line from your picture:
Maybe you meant it differently ?
I noticed I could not copy paste the code line in the forum.
- This reply was modified 4 years, 3 months ago by facer.
July 29, 2020 at 5:31 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1037facerParticipantWell this is way above my knowledge with phpmyadmin. I did as best I could understand what you wrote.
I typed the whole row from your picture in phpmyadmin.
Picture say more than words. as a result.Attachments:
July 29, 2020 at 5:29 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1035facerParticipantfirst the result log
Attachments:
July 28, 2020 at 8:42 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1026facerParticipantlet’s drill into number 7.
Attachments:
July 27, 2020 at 6:48 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1022facerParticipanthappy to hear you got some more information out of our daily routine 😉
Attachments:
July 25, 2020 at 8:43 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1018facerParticipantMy daily upload, a fresh log file 😉
Attachments:
July 24, 2020 at 6:34 am in reply to: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export #1014facerParticipant -
AuthorPosts
Recent Comments